/*
 * 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-kick-dark: #1f9d0e;
    --rp-live: #eb0400;
    --rp-green: #12b76a;
    --rp-amber: #fdb022;
    --rp-amber-soft: #fef0c7;
    --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;
    white-space: nowrap;
}

/* ---------- 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: .5rem;
    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: 26px;
    height: 26px;
}

.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);
}

.site-header-start {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.platform-switch {
    display: flex;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: var(--rp-line-soft);
}

.platform-switch a {
    padding: .4375rem 1.375rem;
    border-radius: 999px;
    color: var(--rp-muted);
    font-size: .9375rem;
    text-align: center;
    transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.platform-switch a:hover {
    color: var(--rp-ink);
}

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

/* Each platform has its own dot; the active one also shows its name in that colour. */
.platform-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.platform-switch-dot {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--rp-line);
}

.platform-switch a.is-active .platform-switch-dot {
    box-shadow: 0 0 0 3px #f2f3f5;
}

.platform-switch a.is-twitch .platform-switch-dot {
    background: var(--rp-twitch);
}

.platform-switch a.is-kick .platform-switch-dot {
    background: var(--rp-kick);
}

.platform-switch a.is-twitch.is-active {
    color: var(--rp-twitch);
}

.platform-switch a.is-kick.is-active {
    color: var(--rp-kick-dark);
}

.platform-switch-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1.5rem;
}

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

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

/* Section label: white pill, optional leading icon in a blue circle. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.125rem;
    padding: .3125rem .875rem;
    border: 1px solid var(--rp-line);
    border-radius: 999px;
    background: #fff;
    color: var(--rp-ink-2);
    font-size: .875rem;
    line-height: 1.5;
    box-shadow: var(--rp-shadow-xs);
}

.eyebrow:has(> .eyebrow-icon) {
    padding-left: .3125rem;
}

.eyebrow-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--rp-blue);
    color: #fff;
}

.eyebrow-icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.25;
}

.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;
}

/* Keeps "Buy Twitch Viewers" on one line where it fits, so the title breaks before "with". */
@media (min-width: 576px) {
    .hero-title-keep {
        white-space: nowrap;
    }
}

/* A long ending like "with Instant Delivery" shrinks with the text column so it stays on one line. */
@media (min-width: 992px) {
    .hero-copy {
        container-type: inline-size;
    }

    .hero-title-long {
        font-size: min(3.5rem, 11cqi);
    }
}

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

/* One white card in three parts; stacked on phones, side by side from 992px. */
.trust {
    display: grid;
    margin-top: 3rem;
    border: 1px solid var(--rp-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--rp-shadow-xs);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .875rem;
    padding: 1.125rem 1.5rem;
}

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

.trust-text {
    display: grid;
    justify-items: start;
    gap: .3125rem;
}

.trust-text strong {
    color: var(--rp-ink);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}

.trust-sub {
    color: var(--rp-muted);
    font-size: .875rem;
    line-height: 1.3;
}

.trust-sub strong {
    font-size: .875rem;
}

.trust-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ecfdf3;
    color: var(--rp-green);
    font-size: 1.375rem;
}

.trust-icon.is-blue {
    background: var(--rp-blue-soft);
    color: var(--rp-blue);
}

.trust .trust-payments img {
    height: 22px;
}

/* Small phones: visual above text, both centred, so no row is wider than the screen. */
@media (max-width: 575.98px) {
    .trust-item {
        flex-direction: column;
        gap: .625rem;
        padding: 1.125rem 1rem;
        text-align: center;
    }

    .trust-text {
        justify-items: center;
    }

    .trust-payments {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .trust {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

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

.trust-avatars {
    display: flex;
}

.trust-avatars img {
    display: block;
    width: 40px;
    height: 40px;
    margin-left: -12px;
    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: 22px;
    height: 22px;
    border-radius: 5px;
    background: #10b981;
    color: #fff;
    font-size: .875rem;
}

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

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


@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-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(--stream-accent);
}

@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(--stream-accent);
}

.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(--stream-accent);
    color: #fff;
}

/* The mock stream wears the platform's colour: Twitch purple, or Kick green with dark text. */
.stream {
    --stream-accent: var(--rp-twitch);
}

.stream.is-kick {
    --stream-accent: var(--rp-kick-dark);
}

.stream.is-kick .stream-follow {
    background: var(--rp-kick);
    color: var(--rp-ink);
}

.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-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .25rem 1rem;
    margin-bottom: .875rem;
}

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

.picker-secure {
    display: inline-flex;
    align-items: center;
    gap: .3125rem;
    color: var(--rp-muted);
    font-size: .8125rem;
    white-space: nowrap;
}

.picker-secure .lucide-icon {
    color: var(--rp-green);
}

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

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

/* A tile: size, then what comes with it. */
.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);
    box-shadow: 0 8px 20px -8px rgba(21, 94, 239, .55);
    color: #fff;
}

.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-amber);
    color: var(--rp-ink);
    font-size: .6875rem;
    line-height: 1.6;
    white-space: nowrap;
}

.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,
.tier.is-active .tier-extras {
    color: rgba(255, 255, 255, .85);
}

.tier.is-active .tier-extras {
    border-top-color: rgba(255, 255, 255, .25);
}

/* Phones: three tiles a row, tighter, with each extra on one line (fits "+ 200 chatters" from 360px up). */
@media (max-width: 575.98px) {
    .picker-body {
        padding: .875rem .75rem;
    }

    .tier-grid {
        gap: .875rem .5rem;
    }

    .tier {
        padding: .875rem .5rem .75rem;
    }

    .tier-number {
        font-size: 1.375rem;
    }

    .tier-unit {
        margin-bottom: .5rem;
        font-size: .8125rem;
    }

    .tier-extras {
        padding-top: .5rem;
        font-size: .71875rem;
        white-space: nowrap;
    }

    .tier-badge {
        right: .375rem;
        font-size: .625rem;
    }
}

/* The smallest phones: size only; the detail card below lists what is included. */
@media (max-width: 359.98px) {
    .tier-unit {
        margin-bottom: 0;
        font-size: .75rem;
        white-space: nowrap;
    }

    .tier-extras {
        display: none;
    }

    .picker-perks li {
        font-size: .6875rem;
        white-space: nowrap;
    }
}

.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.25rem;
    border-radius: 18px;
    background: var(--rp-surface);
}

/* Detail card: "100 live viewers for 1 week", then the price big. */
.picker-detail-label {
    margin-bottom: .5rem;
    color: var(--rp-ink);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.picker-amount {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 .5rem;
    margin-bottom: 1.25rem;
    color: var(--rp-ink);
    font-size: 3.25rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.picker-amount-note {
    color: var(--rp-muted);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
}

/* The smallest phones: keeps "$506 / unlimited streams" on one line. */
@media (max-width: 359.98px) {
    .picker-amount {
        font-size: 2.5rem;
    }

    .picker-amount-note {
        font-size: .8125rem;
    }

    .picker-tested {
        font-size: .75rem;
        white-space: nowrap;
    }
}

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

/* What every package can do, under what it contains: tighter, with blue ticks. */
.picker-detail .picker-features {
    gap: .5rem;
    font-size: .875rem;
}

.picker-features .ph-fill {
    margin-top: .125rem;
    color: var(--rp-blue);
    font-size: 1rem;
}

.picker-tested {
    display: flex;
    align-items: center;
    gap: .375rem;
    margin: .875rem 0 0;
    color: #067647;
    font-size: .8125rem;
    font-weight: 500;
}

.picker-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin: 1.25rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--rp-line);
    list-style: none;
}

.picker-perks li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    color: var(--rp-ink-2);
    font-size: .75rem;
    line-height: 1.3;
    text-align: center;
}

.picker-perks .lucide-icon {
    color: var(--rp-blue);
}

@media (min-width: 576px) {
    .picker-detail {
        padding: 1.75rem;
    }
}

@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-live {
    display: inline-flex;
    align-items: center;
    gap: .4375rem;
    padding: .1875rem .625rem;
    border-radius: 999px;
    background: #fef3f2;
    color: #b42318;
    font-size: .75rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.mockup-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rp-live);
    box-shadow: 0 0 0 0 rgba(235, 4, 0, .45);
    animation: rp-live-pulse 1.6s ease-out infinite;
}

@keyframes rp-live-pulse {
    70%,
    100% { box-shadow: 0 0 0 6px rgba(235, 4, 0, 0); }
}

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

.mockup-who {
    display: grid;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.mockup-since {
    color: var(--rp-muted);
    font-size: .75rem;
}

.mockup-since.is-new {
    color: var(--rp-blue);
}

.mockup-face {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

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

.mockup-tag {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .125rem .5rem;
    border-radius: 999px;
    background: var(--rp-line-soft);
    color: var(--rp-ink-2);
    font-size: .75rem;
}

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

.mockup-tag.is-raided {
    background: var(--rp-amber-soft);
    color: #b54708;
}

/* A viewer joining at the top of the list. */
.mockup-row.is-joining {
    animation: rp-row-in .9s ease both;
}

@keyframes rp-row-in {
    0% {
        opacity: 0;
        transform: translateY(-8px);
        background: var(--rp-blue-soft);
    }

    20% {
        opacity: 1;
        transform: none;
        background: var(--rp-blue-soft);
    }
}

.mockup-more {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .75rem 1.125rem;
    color: var(--rp-muted);
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
}

.mockup-stack {
    display: inline-flex;
}

.mockup-stack img {
    width: 24px;
    height: 24px;
    margin-left: -7px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.mockup-stack img:first-child {
    margin-left: 0;
}

/* Dashboard mockup: one plan card, played through by raidpop.js. */
.dash {
    position: relative;
    overflow: visible;
}

.dash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.125rem;
    border-bottom: 1px solid var(--rp-line-soft);
}

.dash-channel {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.dash-channel img {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rp-live);
}

.dash-channel-name {
    display: block;
    color: var(--rp-ink);
    font-size: .9375rem;
    font-weight: 500;
}

.dash-plan {
    display: block;
    color: var(--rp-muted);
    font-size: .8125rem;
}

.dash-status {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: .375rem;
    padding: .25rem .625rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-size: .75rem;
    transition: background-color .2s ease, color .2s ease;
}

.dash-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.dash-status.is-paused {
    background: var(--rp-line-soft);
    color: var(--rp-muted);
}

.dash-status.is-restarting {
    background: var(--rp-amber-soft);
    color: #b54708;
}

.dash-status.is-restarting i {
    animation: rp-blink .8s ease-in-out infinite;
}

@keyframes rp-blink {
    50% { opacity: .2; }
}

.dash-live {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.125rem 1rem;
}

.dash-live-number {
    display: block;
    color: var(--rp-ink);
    font-size: 2.25rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.03em;
    transition: color .2s ease;
}

.dash-live-label {
    display: block;
    margin-top: .375rem;
    color: var(--rp-muted);
    font-size: .8125rem;
    white-space: nowrap;
}

.dash-spark {
    flex: 0 1 9rem;
    min-width: 0;
    height: 3rem;
    overflow: visible;
}

.dash-spark polygon {
    fill: var(--rp-blue-soft);
}

.dash-spark polyline {
    fill: none;
    stroke: var(--rp-blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.dash-section {
    padding: .875rem 1.125rem;
    border-top: 1px solid var(--rp-line-soft);
}

.dash-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .625rem;
    color: var(--rp-ink);
    font-size: .875rem;
}

.dash-row > span:last-child {
    color: var(--rp-muted);
    font-variant-numeric: tabular-nums;
}

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

.dash-slider span {
    position: relative;
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--rp-blue);
    transition: width .7s cubic-bezier(.3, .7, .3, 1), background-color .2s ease;
}

.dash-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%);
    transition: box-shadow .2s ease, border-color .2s ease;
}

/* The slider knob glows while the demo moves it. */
.dash-section.is-changing .dash-slider span::after {
    box-shadow: 0 0 0 6px rgba(21, 94, 239, .15);
}

.dash.is-paused .dash-live-number {
    color: var(--rp-subtle);
}

.dash.is-paused .dash-spark polyline {
    stroke: var(--rp-subtle);
}

.dash.is-paused .dash-slider span {
    background: var(--rp-subtle);
}

.dash.is-paused .dash-slider span::after {
    border-color: var(--rp-subtle);
}

.dash-included {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    padding: .875rem 1.125rem;
    border-top: 1px solid var(--rp-line-soft);
}

.dash-included > span {
    display: inline-flex;
    align-items: center;
    gap: .3125rem;
    padding: .25rem .5rem;
    border: 1px solid var(--rp-line-soft);
    border-radius: 7px;
    background: var(--rp-surface);
    color: var(--rp-ink-2);
    font-size: .75rem;
}

.dash-included .ph,
.dash-included svg {
    color: var(--rp-blue);
    font-size: .875rem;
}

.dash-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem;
    padding: 0 1.125rem 1.125rem;
}

.dash-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .625rem 1rem;
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--rp-ink);
    font-size: .875rem;
    white-space: nowrap;
    transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
}

.dash-button .ph,
.dash-button .ph-fill {
    display: inline-block;
}

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

.dash-button.is-pressed {
    transform: scale(.96);
}

.dash-button.is-spinning .ph {
    animation: rp-spin .8s ease-in-out;
}

@keyframes rp-spin {
    to { transform: rotate(360deg); }
}

/* Confirmation after each change, sitting on the card's bottom edge. */
.dash-toast {
    position: absolute;
    bottom: -18px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .875rem;
    border-radius: 999px;
    background: var(--rp-ink);
    color: #fff;
    font-size: .8125rem;
    white-space: nowrap;
    box-shadow: var(--rp-shadow);
    opacity: 0;
    transform: translate(-50%, 6px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

.dash-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.dash-toast .ph-fill {
    color: #32d583;
}

@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;
    }
}

/* ---------- Chat mockup (real and AI chatters) ---------- */

.gpt-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .1875rem .625rem;
    border: 1px solid var(--rp-line);
    border-radius: 999px;
    color: var(--rp-ink);
    font-size: .75rem;
    font-weight: 500;
}

/* What the AI heard on stream: sound wave, then the live caption. */
.chat-demo-heard {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .875rem 1.125rem 0;
    padding: .625rem .75rem;
    border: 1px solid var(--rp-blue-line);
    border-radius: 12px;
    background: var(--rp-blue-soft);
}

.chat-demo-heard-text {
    display: grid;
    flex: 1;
    min-width: 0;
}

.chat-demo-heard-text > span {
    color: var(--rp-blue);
    font-size: .6875rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.chat-demo-heard q {
    overflow: hidden;
    color: var(--rp-ink);
    font-size: .875rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: opacity .3s ease;
}

.chat-demo-heard q.is-changing {
    opacity: 0;
}

.chat-demo-wave {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 2px;
    height: 20px;
    padding: 0 .25rem;
}

.chat-demo-wave i {
    width: 3px;
    height: 100%;
    border-radius: 2px;
    background: var(--rp-blue);
    transform: scaleY(.3);
    animation: rp-wave 1.1s ease-in-out infinite;
}

.chat-demo-wave i:nth-child(2) { animation-delay: .15s; }
.chat-demo-wave i:nth-child(3) { animation-delay: .3s; }
.chat-demo-wave i:nth-child(4) { animation-delay: .45s; }
.chat-demo-wave i:nth-child(5) { animation-delay: .6s; }

@keyframes rp-wave {
    50% { transform: scaleY(1); }
}

/* Twitch-style badge in front of an AI chatter's name. */
.chat-demo-badge {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    margin-right: .3125rem;
    border-radius: 4px;
    background: var(--rp-blue);
    color: #fff;
    vertical-align: -3px;
}

.chat-demo-typing {
    display: flex;
    align-items: center;
    gap: .5rem;
    height: 1.75rem;
    padding: 0 1.125rem .5rem;
    color: var(--rp-muted);
    font-size: .75rem;
    opacity: 0;
    transition: opacity .25s ease;
}

.chat-demo-typing.is-visible {
    opacity: 1;
}

.chat-demo-dots {
    display: inline-flex;
    gap: 3px;
}

.chat-demo-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rp-subtle);
    animation: rp-typing 1.2s ease-in-out infinite;
}

.chat-demo-dots i:nth-child(2) { animation-delay: .15s; }
.chat-demo-dots i:nth-child(3) { animation-delay: .3s; }

@keyframes rp-typing {
    0%, 60%, 100% {
        opacity: .4;
        transform: none;
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* Newest message at the bottom. Messages stay on one line and raidpop.js keeps the last few,
   so the list is always the same height. */
.chat-demo-list {
    display: flex;
    flex-direction: column;
    gap: .875rem;
    padding: .875rem 1.125rem .5rem;
}

.chat-demo-msg {
    display: flex;
    flex: none;
    align-items: flex-start;
    gap: .625rem;
}

.chat-demo-msg.is-new {
    animation: rp-msg-in .45s ease both;
}

@keyframes rp-msg-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

.chat-demo-face {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.chat-demo-msg p {
    margin: 0;
    color: var(--rp-ink-2);
    font-size: .875rem;
    line-height: 1.45;
}

.chat-demo-msg p {
    overflow: hidden;
    min-width: 0;
    padding-top: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.chat-demo-name {
    font-weight: 500;
}

.chat-demo-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 1.125rem;
    border-top: 1px solid var(--rp-line-soft);
}

.chat-demo-modes {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 9px;
    background: var(--rp-line-soft);
    font-size: .75rem;
}

.chat-demo-modes > span {
    display: inline-flex;
    align-items: center;
    padding: .25rem .625rem;
    border-radius: 7px;
    color: var(--rp-muted);
}

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

.chat-demo-language {
    display: inline-flex;
    align-items: center;
    gap: .3125rem;
    color: var(--rp-muted);
    font-size: .75rem;
}

/* ---------- 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-prefix {
    color: var(--rp-subtle);
}

.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 span {
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.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;
    }
}

/* ---------- Why RaidPop (reason cards with stickers) ---------- */

.why {
    display: grid;
    gap: 2.5rem;
}

.why-head .section-lead {
    max-width: 26rem;
}

.why-grid {
    display: grid;
    gap: 3rem 1.25rem;
    padding-top: 1.75rem;
}

.why-card {
    position: relative;
    padding: 3.5rem 1.5rem 1.625rem;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-lg);
    background: #fff;
    box-shadow: var(--rp-shadow-xs);
    transition: transform .2s ease, box-shadow .2s ease;
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--rp-shadow);
}

/* Stickers are drawn on an 80px grid and shown at 80px, so their lines stay on whole pixels. */
.why-sticker {
    position: absolute;
    top: -38px;
    left: 1rem;
    width: 80px;
    height: 80px;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.why-card:hover .why-sticker {
    transform: rotate(-8deg) scale(1.06);
}

.why-title {
    margin-bottom: .5rem;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

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

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

@media (min-width: 1200px) {
    .why {
        grid-template-columns: minmax(0, .75fr) minmax(0, 2fr);
        gap: 4rem;
    }

    .why-head {
        align-self: start;
        padding-top: 1.75rem;
    }
}

/* ---------- Reviews (two drifting rows) ---------- */

.reviews-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.reviews-head .section-title {
    margin: 0;
}

.reviews-score {
    display: flex;
    align-items: center;
    gap: .875rem;
}

.reviews-score > span:last-child {
    display: grid;
    gap: .375rem;
}

.reviews-score-number {
    color: var(--rp-ink);
    font-size: 3.25rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
}

.reviews-score-count {
    color: var(--rp-muted);
    font-size: .875rem;
}

.trust-stars span.is-empty {
    background: var(--rp-line);
}

.reviews-rows {
    display: grid;
    gap: 1rem;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    width: max-content;
    animation: rp-marquee var(--marquee-duration, 60s) linear infinite;
}

.reviews-row.is-reverse .reviews-track {
    animation-direction: reverse;
}

.reviews-row:hover .reviews-track {
    animation-play-state: paused;
}

@keyframes rp-marquee {
    to { transform: translateX(-50%); }
}

.review-card {
    display: flex;
    flex: none;
    flex-direction: column;
    width: 18.5rem;
    margin: 0 1rem 0 0;
    padding: 1.25rem;
    border: 1px solid var(--rp-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--rp-shadow-xs);
}

.review-stars span {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    font-size: .8125rem;
}

.review-text {
    flex: 1;
    margin: .875rem 0 1.25rem;
    color: var(--rp-ink);
    font-size: .9375rem;
    line-height: 1.55;
}

.review-author {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin: 0;
}

.review-avatar {
    flex: none;
    width: 36px;
    height: 36px;
}

.review-name {
    display: block;
    color: var(--rp-ink);
    font-size: .875rem;
    font-weight: 500;
}

.review-date {
    display: block;
    color: var(--rp-muted);
    font-size: .8125rem;
}

.reviews-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
}

.reviews-foot .btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.reviews-link {
    color: var(--rp-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Safety (intro with illustration, three cards) ---------- */

.safety-intro {
    display: grid;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.safety-intro > div:first-child {
    max-width: 36rem;
}

.safety-lead {
    margin: 0;
    color: var(--rp-ink-2);
    font-size: 1.125rem;
    line-height: 1.6;
}

.safety-subtitle {
    margin: 2.25rem 0 .5rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--rp-line);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.safety-text {
    margin: 0;
    color: var(--rp-muted);
    line-height: 1.65;
}

.safety-art img {
    display: block;
    width: 100%;
    max-width: 26rem;
    height: auto;
    margin-inline: auto;
}

.safety-cards {
    display: grid;
    gap: 1.25rem;
}

.safety-card {
    padding: .75rem .75rem 1.75rem;
    border: 1px solid var(--rp-line-soft);
    border-radius: 22px;
    background: var(--rp-surface);
}

.safety-card .safety-text {
    padding-inline: .875rem;
}

.safety-card-title {
    margin: 0 .875rem .5rem;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.safety-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    min-height: 92px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--rp-line-soft);
    border-radius: 16px;
    background: #fff;
}

.safety-face {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.safety-visual-divider {
    width: 1px;
    height: 32px;
    margin-inline: .375rem;
    background: var(--rp-line);
}

.safety-empty-profile {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1.5px dashed var(--rp-line);
    border-radius: 50%;
    color: var(--rp-subtle);
    font-size: .875rem;
}

.safety-visual .trust-payments img {
    height: 26px;
}

.safety-incognito {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: .375rem;
    border-radius: 50%;
    background: var(--rp-ink);
    color: #fff;
    font-size: 1.375rem;
}

.safety-visual-label {
    color: var(--rp-ink);
    font-weight: 500;
}

@media (min-width: 992px) {
    .safety-intro {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 4rem;
        margin-bottom: 4rem;
    }

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

/* ---------- 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;
    text-wrap: balance;
}

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

/* The note under the form sits centred, like the rest of the panel. */
.cta-panel .channel-note {
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    text-align: center;
    text-wrap: balance;
}

.cta-panel .channel-note > .ph {
    margin-top: 0;
}

.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.6fr repeat(3, 1fr);
    }
}

/* ---------- Inner pages: page header ---------- */

.page-head {
    padding: 3.5rem 0 2.5rem;
    text-align: center;
}

.page-title {
    max-width: 44rem;
    margin: 0 auto 1rem;
    font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

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

.page-meta {
    margin: 1rem 0 0;
    color: var(--rp-subtle);
    font-size: .875rem;
}

@media (min-width: 992px) {
    .page-head {
        padding: 5rem 0 3.5rem;
    }
}

/* ---------- Legal pages: side nav and readable text ---------- */

.legal {
    display: grid;
    gap: 2rem;
}

.legal-nav-label {
    margin-bottom: .5rem;
    color: var(--rp-subtle);
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.legal-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.legal-nav-list a {
    display: block;
    padding: .375rem .75rem;
    border: 1px solid var(--rp-line);
    border-radius: 999px;
    background: #fff;
    color: var(--rp-ink-2);
    font-size: .875rem;
}

.legal-nav-list a:hover {
    color: var(--rp-ink);
}

.legal-nav-list a.is-active {
    border-color: var(--rp-blue-line);
    background: var(--rp-blue-soft);
    color: var(--rp-blue);
}

/* "On this page" only shows beside the text on wide screens. */
.legal-toc-wrap {
    display: none;
}

.prose {
    max-width: 44rem;
    color: var(--rp-ink-2);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.prose h2 {
    margin: 2.75rem 0 .875rem;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin: 1.75rem 0 .5rem;
    font-size: 1.125rem;
}

.prose p,
.prose ul,
.prose ol {
    margin-bottom: 1.125rem;
}

.prose ul,
.prose ol {
    padding-left: 1.25rem;
}

.prose li {
    margin-bottom: .5rem;
    padding-left: .25rem;
}

.prose li::marker {
    color: var(--rp-subtle);
}

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

.prose a {
    color: var(--rp-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (min-width: 992px) {
    .legal {
        grid-template-columns: 15rem minmax(0, 1fr);
        gap: 4rem;
    }

    .legal-nav {
        position: sticky;
        top: calc(var(--rp-header-space) + 1.5rem);
        align-self: start;
    }

    .legal-nav-list {
        display: grid;
        gap: .125rem;
    }

    .legal-nav-list a {
        padding: .4375rem .75rem;
        border: 0;
        border-radius: 9px;
        background: transparent;
    }

    .legal-nav-list a:hover {
        background: var(--rp-line-soft);
    }

    .legal-toc-wrap:not([hidden]) {
        display: block;
    }

    .legal-toc a {
        color: var(--rp-muted);
        font-size: .8125rem;
    }
}

/* ---------- About ---------- */

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

.about-story-text {
    max-width: 38rem;
    color: var(--rp-ink-2);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.about-story-text .section-title {
    font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.about-fact {
    display: grid;
    gap: .25rem;
    padding: 1.5rem;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-lg);
    background: #fff;
    box-shadow: var(--rp-shadow-xs);
}

.about-fact-value {
    color: var(--rp-ink);
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.about-fact-label {
    color: var(--rp-muted);
    font-size: .9375rem;
}

.about-values {
    display: grid;
    gap: 1rem;
}

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

.about-value-title {
    margin: 1.25rem 0 .5rem;
    font-size: 1.1875rem;
}

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

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

@media (min-width: 992px) {
    .about-story {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 4rem;
    }
}

@media (min-width: 1200px) {
    .about-values {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Contact ---------- */

/* Form card on the right on desktop; ways to reach us and company details on the left. */
.contact-layout {
    display: grid;
    gap: 1.5rem;
}

.contact-side {
    display: grid;
    align-content: start;
    gap: 1rem;
}

.contact-routes {
    display: grid;
    margin: 0;
    padding: 0;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-lg);
    background: #fff;
    list-style: none;
}

.contact-route {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.375rem;
}

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

.contact-route .icon-tile {
    flex: none;
}

/* On phones and tablets the form comes first; the other ways to reach us follow. */
@media (max-width: 991.98px) {
    .contact-form-card {
        order: -1;
    }
}

.contact-route-body {
    display: grid;
    gap: .25rem;
}

.contact-route-title {
    color: var(--rp-ink);
    font-size: 1.0625rem;
    font-weight: 500;
}

.contact-route-text {
    color: var(--rp-muted);
    font-size: .9375rem;
}

.contact-route-link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    margin-top: .25rem;
    color: var(--rp-blue);
    font-size: .9375rem;
    font-weight: 500;
}

.contact-route-link .ph {
    transition: transform .15s ease;
}

.contact-route-link:hover .ph {
    transform: translateX(3px);
}

.contact-company {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 1.375rem;
    border: 1px solid var(--rp-line-soft);
    border-radius: var(--rp-radius-lg);
    background: var(--rp-surface);
}

.contact-company dt {
    margin-bottom: .125rem;
    color: var(--rp-subtle);
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-company dd {
    margin: 0;
    color: var(--rp-ink-2);
}

.contact-company a {
    color: var(--rp-ink-2);
}

.contact-form-card {
    padding: 1.75rem 1.375rem;
    border: 1px solid var(--rp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--rp-shadow-blue), var(--rp-shadow-xs);
}

.contact-form-title {
    margin-bottom: .5rem;
    font-size: 1.625rem;
    letter-spacing: -0.02em;
}

.contact-form-lead {
    margin-bottom: 1.75rem;
    color: var(--rp-muted);
}

.contact-form {
    display: grid;
    gap: 1.125rem;
}

.contact-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.contact-form-note {
    margin: 0;
    color: var(--rp-muted);
    font-size: .875rem;
    text-align: center;
}

.contact-form-note a {
    color: var(--rp-blue);
}

.contact-form-error {
    margin: 0;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: #fef3f2;
    color: #b42318;
    font-size: .9375rem;
}

.contact-form-done {
    display: flex;
    gap: .625rem;
    padding: .875rem 1rem;
    border-radius: 12px;
    background: #ecfdf3;
    color: #067647;
    font-size: .9375rem;
}

.contact-form-done[hidden],
.contact-form-error[hidden] {
    display: none;
}

.contact-form-done .ph-fill {
    flex: none;
    margin-top: .1875rem;
}

.contact-form-done a {
    color: inherit;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .contact-form-card {
        padding: 2.5rem;
    }
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 2.5rem;
    }
}

/* ---------- Reviews page ---------- */

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

.review-platform {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    color: var(--rp-muted);
    font-size: .75rem;
}

.review-platform.is-twitch .platform-switch-dot {
    background: var(--rp-twitch);
}

.review-platform.is-kick .platform-switch-dot {
    background: var(--rp-kick);
}

.review-platform .platform-switch-dot {
    width: 7px;
    height: 7px;
    box-shadow: none;
}

.reviews-page-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-lg);
    background: #fff;
}

.reviews-page-bar .btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

/* Masonry: cards stack in columns at their own height, so short reviews leave no gaps. */
.reviews-grid {
    column-gap: 1rem;
    columns: 1;
}

.reviews-grid .review-card {
    width: auto;
    margin: 0 0 1rem;
    break-inside: avoid;
}

.reviews-empty {
    color: var(--rp-muted);
    text-align: center;
}

@media (min-width: 768px) {
    .reviews-grid {
        columns: 2;
    }
}

@media (min-width: 1200px) {
    .reviews-grid {
        columns: 4;
    }
}

.review-form-card {
    display: grid;
    gap: 2rem;
    padding: 1.75rem;
    border: 1px solid var(--rp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--rp-shadow-xs);
}

.review-form {
    display: grid;
    gap: 1.125rem;
}

/* Form fields shared by the review and contact forms. */
.form-row {
    display: grid;
    gap: 1.125rem;
}

.form-field {
    display: grid;
    gap: .375rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-field > span,
.form-field legend {
    margin: 0;
    color: var(--rp-ink);
    font-size: .9375rem;
}

.form-field em {
    color: var(--rp-subtle);
    font-style: normal;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: .75rem .875rem;
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    background: #fff;
    color: var(--rp-ink);
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-field select {
    appearance: none;
    padding-right: 2.5rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .875rem center / 16px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--rp-blue);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .12);
}

.form-field textarea {
    resize: vertical;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
    border-color: #f04438;
}

/* Star picker: inputs run 5 to 1 in the markup and are shown reversed, so a star lights up itself and the ones before it. */
.review-stars-input {
    position: relative;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.review-stars-input input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.review-stars-input label {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--rp-line);
    color: #fff;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color .15s ease;
}

.review-stars-input input:checked ~ label,
.review-stars-input label:hover,
.review-stars-input label:hover ~ label {
    background: #10b981;
}

.review-stars-input input:focus-visible + label {
    outline: 2px solid var(--rp-blue);
    outline-offset: 2px;
}

.review-form-note {
    margin: 0;
    color: var(--rp-muted);
    font-size: .875rem;
}

.review-form .btn {
    justify-self: start;
}

.review-form-errors {
    padding: .875rem 1rem;
    border-radius: 12px;
    background: #fef3f2;
    color: #b42318;
    font-size: .9375rem;
}

.review-form-errors p {
    margin: 0;
}

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

@media (min-width: 992px) {
    .review-form-card {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 4rem;
        padding: 3rem;
    }
}

/* ---------- Loyalty points page ---------- */

/* Points card mockup: built on the dashboard card (.dash), played by raidpop.js. */
/* Coins icon beside the title, at half its 80px grid so its lines stay crisp. */
.dash-channel .points-sticker {
    width: 40px;
    height: 40px;
    box-shadow: none;
}

/* The card's rewards moment: the icon gives a little hop each time points are redeemed. */
.points-card.is-redeemed .points-sticker {
    animation: rp-sticker-hop .6s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes rp-sticker-hop {
    40% { transform: translateY(-8px) rotate(-10deg) scale(1.08); }
}


.points-balance {
    padding: 1.125rem 1.125rem 1rem;
}

.points-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--rp-line-soft);
}

.points-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--rp-amber);
    transition: width .7s cubic-bezier(.3, .7, .3, 1), background-color .2s ease;
}

.points-card.is-unlocked .points-bar span {
    background: var(--rp-green);
}

.points-activity-dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

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

.points-activity-dot.is-kick {
    background: var(--rp-kick);
}

.points-actions {
    grid-template-columns: 1fr;
    padding-top: 1.125rem;
    border-top: 1px solid var(--rp-line-soft);
}

.dash-button.is-locked {
    border-color: var(--rp-line);
    background: var(--rp-line-soft);
    color: var(--rp-muted);
}

/* How it works: small visuals for the three steps. */
.mini-order,
.mini-points,
.mini-redeem {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--rp-ink-2);
    font-size: .8125rem;
    white-space: nowrap;
    box-shadow: var(--rp-shadow-xs);
}

.mini-order strong,
.mini-redeem strong {
    color: var(--rp-ink);
    font-weight: 500;
}

.mini-order strong {
    margin-left: .25rem;
}

.steps > * {
    min-width: 0;
}

@media (max-width: 374.98px) {
    .mini-order,
    .mini-redeem {
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
}

.mini-points {
    border-color: #abefc6;
    background: #ecfdf3;
    color: #067647;
    font-size: .9375rem;
    font-weight: 500;
}

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

/* Calculator card. */
.points-calculator {
    max-width: 26rem;
    margin: 0 auto;
    padding: 1.5rem;
    border: 1px solid var(--rp-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--rp-shadow-blue);
}

.points-calculator-label {
    display: block;
    color: var(--rp-muted);
    font-size: .875rem;
}

.points-calculator-spend {
    display: block;
    margin: .125rem 0 1rem;
    color: var(--rp-ink);
    font-size: 2.5rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.points-range {
    --fill: 14%;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--rp-blue) var(--fill), var(--rp-line-soft) var(--fill));
    cursor: pointer;
    appearance: none;
}

.points-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border: 2px solid var(--rp-blue);
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--rp-shadow-sm);
    appearance: none;
}

.points-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid var(--rp-blue);
    border-radius: 50%;
    background: #fff;
}

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

.preset-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    margin: 1.125rem 0 1.25rem;
}

.preset-chips button {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .3125rem .625rem;
    border: 1px solid var(--rp-line);
    border-radius: 8px;
    background: #fff;
    color: var(--rp-ink-2);
    font: inherit;
    font-size: .75rem;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

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

.preset-chips button.is-active {
    border-color: var(--rp-blue-line);
    background: var(--rp-blue-soft);
    color: var(--rp-blue);
}

.points-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.points-results > div {
    display: grid;
    gap: .125rem;
    padding: .875rem 1rem;
    border: 1px solid var(--rp-line-soft);
    border-radius: 12px;
    background: var(--rp-surface);
}

.points-result-value {
    color: var(--rp-ink);
    font-size: 1.375rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.points-result-label {
    color: var(--rp-muted);
    font-size: .8125rem;
}

.points-calculator-status {
    margin: 1rem 0 0;
    color: var(--rp-ink-2);
    font-size: .875rem;
}

.points-calculator-status .ph-fill {
    margin-right: .25rem;
    color: var(--rp-green);
}

/* Perks. */
.perks {
    display: grid;
    gap: 1rem;
}

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

.perk-title {
    margin: 1.25rem 0 .5rem;
    font-size: 1.1875rem;
}

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

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

@media (min-width: 1200px) {
    .perks {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Free viewers pages ---------- */

.free-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.free-facts li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4375rem .875rem;
    border: 1px solid var(--rp-line);
    border-radius: 999px;
    background: #fff;
    color: var(--rp-ink-2);
    font-size: .9375rem;
}

.free-facts .ph-fill {
    color: var(--rp-blue);
}

/* Tool card: a white card with an icon header and a form, used by the free trial and the free tools. */
.tool-card {
    padding: 1.5rem;
    border: 1px solid var(--rp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--rp-shadow-blue), var(--rp-shadow-xs);
}

.tool-card-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rp-line-soft);
}

.tool-card-head img {
    flex: none;
}

.tool-card-head > span:nth-child(2) {
    display: grid;
    flex: 1;
}

.tool-card-title {
    color: var(--rp-ink);
    font-size: 1.0625rem;
    font-weight: 500;
}

.tool-card-sub {
    color: var(--rp-muted);
    font-size: .875rem;
}

.tool-card-badge {
    padding: .25rem .625rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-size: .875rem;
    font-weight: 500;
}

.tool-card-form {
    display: grid;
    gap: 1.125rem;
}

.tool-card-form .btn {
    width: 100%;
}

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

.tool-card-note .ph {
    flex: none;
    margin-top: .1875rem;
    color: var(--rp-blue);
}

.form-alert {
    margin: 0;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: #fef3f2;
    color: #b42318;
    font-size: .9375rem;
}

/* Text field with a fixed start, like "twitch.tv/". */
.input-prefixed {
    display: flex;
    align-items: center;
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.input-prefixed:focus-within {
    border-color: var(--rp-blue);
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .12);
}

.form-field .input-prefixed > span {
    padding-left: .875rem;
    color: var(--rp-subtle);
}

.form-field .input-prefixed input {
    min-width: 0;
    padding-left: .125rem;
    border: 0;
    box-shadow: none;
}

/* How it works, step 2: the six code boxes. */
.mini-code {
    display: flex;
    gap: .3125rem;
}

.mini-code span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 36px;
    border: 1px solid var(--rp-line);
    border-radius: 8px;
    background: #fff;
    color: var(--rp-ink);
    font-size: .9375rem;
    font-variant-numeric: tabular-nums;
}

.mini-code span:nth-child(4) {
    border-color: var(--rp-blue);
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .12);
}

/* Free trial compared with a package. */
.free-upgrade {
    display: grid;
    align-items: center;
    gap: 2.5rem;
}

.free-compare {
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-lg);
    background: #fff;
    box-shadow: var(--rp-shadow-xs);
}

.free-compare-row {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    padding: .875rem 1.25rem;
    color: var(--rp-ink-2);
    font-size: .9375rem;
}

.free-compare-row + .free-compare-row {
    border-top: 1px solid var(--rp-line-soft);
}

.free-compare-row.is-head {
    background: var(--rp-surface);
    color: var(--rp-muted);
    font-size: .8125rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.free-compare-row [role="rowheader"] {
    color: var(--rp-ink);
}

.free-compare-row .ph-minus {
    color: var(--rp-subtle);
}

.free-compare-row .is-package {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    color: var(--rp-ink);
}

.free-compare-row.is-head .is-package {
    color: var(--rp-blue);
}

.free-compare-row .is-package .ph-fill {
    flex: none;
    color: var(--rp-green);
}

@media (min-width: 992px) {
    .tool-card {
        padding: 2rem;
    }

    .free-upgrade {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 4rem;
    }
}

@media (max-width: 991.98px) {
    .free-facts {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .free-compare-row {
        padding: .75rem 1rem;
        font-size: .875rem;
    }
}

/* ---------- Free tools: username checker, Bits calculator ---------- */

.username-result {
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-top: 1.25rem;
    padding: 1rem 1.125rem;
    border: 1px solid var(--rp-line);
    border-radius: 14px;
    animation: rp-msg-in .35s ease both;
}

.username-result[hidden],
.username-suggestions[hidden] {
    display: none;
}

.username-result-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.375rem;
}

.username-result-text {
    display: grid;
    flex: 1;
    min-width: 0;
}

.username-result-title {
    overflow: hidden;
    color: var(--rp-ink);
    font-weight: 500;
    text-overflow: ellipsis;
}

.username-result-sub {
    color: var(--rp-muted);
    font-size: .875rem;
}

.username-result-link {
    flex: none;
    color: var(--rp-blue);
    font-size: .9375rem;
    font-weight: 500;
}

.username-result.is-free {
    border-color: #abefc6;
    background: #ecfdf3;
}

.username-result.is-free .username-result-icon {
    background: #dcfae6;
    color: var(--rp-green);
}

.username-result.is-taken {
    border-color: #fecdca;
    background: #fef3f2;
}

.username-result.is-taken .username-result-icon {
    background: #fee4e2;
    color: #d92d20;
}

.username-result.is-error .username-result-icon {
    background: var(--rp-line-soft);
    color: var(--rp-muted);
}

.username-suggestions {
    margin-top: 1rem;
    color: var(--rp-muted);
    font-size: .875rem;
}

.username-suggestions .preset-chips {
    margin: .5rem 0 0;
}

.bits-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: .75rem;
}

.bits-swap {
    display: grid;
    place-items: center;
    width: 36px;
    height: 48px;
    color: var(--rp-subtle);
    font-size: 1.25rem;
}

.form-field input[type="number"] {
    font-variant-numeric: tabular-nums;
}

.bits-result {
    margin: 0;
    padding: .875rem 1rem;
    border-radius: 12px;
    background: var(--rp-blue-soft);
    color: var(--rp-ink);
    font-size: .9375rem;
    text-align: center;
}

.bits-result strong {
    color: var(--rp-blue);
}

.value-table {
    max-width: 36rem;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-lg);
    background: #fff;
}

.value-table-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .875rem 1.5rem;
    color: var(--rp-ink-2);
    font-variant-numeric: tabular-nums;
}

.value-table-row + .value-table-row {
    border-top: 1px solid var(--rp-line-soft);
}

.value-table-row.is-head {
    background: var(--rp-surface);
    color: var(--rp-muted);
    font-size: .8125rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.value-table-row > span:last-child {
    color: var(--rp-ink);
    text-align: right;
}

.value-table-row .ph-fill {
    margin-right: .5rem;
    color: var(--rp-twitch);
}

/* ---------- Account pages: log in, sign up, email code, password reset ---------- */

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

.auth-grid {
    display: grid;
    max-width: 60rem;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--rp-shadow-blue), var(--rp-shadow-xs);
}

.auth-card {
    padding: 2rem 1.375rem;
}

.auth-title {
    margin-bottom: .5rem;
    font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
    letter-spacing: -0.03em;
}

.auth-lead {
    margin-bottom: 1.75rem;
    color: var(--rp-muted);
}

.auth-lead strong {
    color: var(--rp-ink);
}

.auth-form {
    display: grid;
    gap: 1.125rem;
}

.auth-form .btn {
    width: 100%;
    margin-top: .25rem;
}

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

.auth-note .ph {
    flex: none;
    margin-top: .1875rem;
    color: var(--rp-blue);
}

.auth-switch {
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rp-line-soft);
    color: var(--rp-muted);
    font-size: .9375rem;
    text-align: center;
}

.auth-switch a,
.form-field-label a {
    color: var(--rp-blue);
    font-weight: 500;
}

.auth-side {
    display: none;
}

.form-success {
    margin: 0;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: #ecfdf3;
    color: #067647;
    font-size: .9375rem;
}

/* A label with a link at its right, e.g. "Password · Forgot password?". */
.form-field .form-field-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.form-field-label a {
    font-size: .875rem;
}

.input-password {
    display: flex;
    align-items: center;
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.input-password:focus-within {
    border-color: var(--rp-blue);
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .12);
}

.form-field .input-password input {
    min-width: 0;
    border: 0;
    box-shadow: none;
}

.input-password button {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--rp-muted);
    font-size: 1.125rem;
}

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

.form-field .input-code {
    font-size: 1.375rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: .5em;
    text-align: center;
}

@media (min-width: 768px) {
    .auth {
        padding: 4rem 0 6rem;
    }

    .auth-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    }

    .auth-card {
        padding: 3rem;
    }

    .auth-side {
        display: block;
        padding: 3rem 2.5rem;
        border-left: 1px solid var(--rp-line-soft);
        background: var(--rp-blue-soft);
    }

    .auth-side img {
        display: block;
        margin-bottom: 1.25rem;
    }

    .auth-side-title {
        margin-bottom: 1.25rem;
        font-size: 1.375rem;
        letter-spacing: -0.02em;
    }
}

/* ---------- Phones and tablets ---------- */

/* Grid columns may shrink below their content, so wide mockup rows can't widen the page. */
.feature > *,
.hero-grid > *,
.safety-cards > * {
    min-width: 0;
}

/* Only the hero is centred on small screens; longer text reads better left-aligned. */
@media (max-width: 991.98px) {
    .hero-grid > div:first-child {
        text-align: center;
    }

    .hero-lead {
        margin-inline: auto;
    }

    .hero-grid .feature-actions {
        justify-content: center;
    }

    .safety-intro {
        gap: 1.5rem;
    }

    .safety-art img {
        max-width: 17rem;
    }
}

/* Phones: a 16px side gutter, and the safety card's face row fits a 320px screen. */
@media (max-width: 575.98px) {
    .container {
        --bs-gutter-x: 2rem;
    }

    .safety-visual {
        flex-wrap: wrap;
        gap: .25rem;
    }

    .safety-face,
    .safety-empty-profile {
        width: 30px;
        height: 30px;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .mini-caret,
    .stream-msg,
    .mockup-row,
    .chat-demo-msg,
    .points-sticker,
    .chat-demo-wave i,
    .chat-demo-dots i,
    .reviews-track {
        animation: none !important;
    }

    .reviews-rows {
        overflow-x: auto;
    }
}
