/* StriveX policy pages in the new homepage look (Returns & Refunds first). Self-contained: inner
   pages don't load homepage-v2.css. Theme values (--hp-brand, --hp-ink, fonts, button radius)
   come from .hp-theme, which the new header prints on every page; the fallbacks match its
   defaults for when the old header is active. */

:root {
    --hp-gutter: clamp(18px, 3.15vw, 58px);
}

@media (max-width: 1350px) {
    :root {
        --hp-gutter: 24px;
    }
}

@media (max-width: 690px) {
    :root {
        --hp-gutter: 14px;
    }
}

.pv-page {
    --pv-red: var(--hp-brand, #f20519);
    --pv-ink: var(--hp-ink, #17191c);
    --pv-text: #4a4d53;
    --pv-muted: #6b6e74;
    --pv-line: #e4e5e8;
    --pv-radius: var(--hp-btn-radius, 8px);
    --pv-head: var(--hp-font-heading, 'Roboto', Arial, sans-serif);
    --pv-body: var(--hp-font-body, 'Poppins', Arial, sans-serif);
    font-family: var(--pv-body);
    color: var(--pv-text);
    background: #fff;
}

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

.pv-container {
    width: min(100%, calc(var(--hp-container, 1440px) + 2 * var(--hp-gutter, 24px)));
    margin: 0 auto;
    padding: 0 var(--hp-gutter, 24px);
}

.pv-page a:focus-visible,
.pv-page button:focus-visible {
    outline: 3px solid #f98487;
    outline-offset: 3px;
}

.pv-red {
    color: var(--pv-red);
}

/* ------------------------------------------------------------------ eyebrow + buttons */
.pv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pv-red);
}

.pv-eyebrow::after {
    content: '';
    width: 64px;
    height: 2px;
    background: currentColor;
}

/* Split fill, as the homepage buttons: the two halves slide apart on hover. */
.pv-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 23px;
    overflow: hidden;
    border: 2px solid var(--pv-btn-fill);
    border-radius: 7px;
    background: transparent;
    font-family: var(--pv-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.pv-btn::before,
.pv-btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
    width: 51%;
    background: var(--pv-btn-fill);
    transition: width 0.3s ease-in-out;
}

.pv-btn::before {
    left: 0;
}

.pv-btn::after {
    right: 0;
}

.pv-btn:hover {
    text-decoration: none;
}

.pv-btn svg {
    width: 16px;
    height: 16px;
    flex: none;
}

.pv-btn--primary {
    --pv-btn-fill: var(--pv-red);
    color: #fff;
}

.pv-btn--primary:hover,
.pv-btn--primary:focus-visible {
    color: var(--pv-red);
}

.pv-btn--primary:hover::before,
.pv-btn--primary:hover::after,
.pv-btn--primary:focus-visible::before,
.pv-btn--primary:focus-visible::after {
    width: 0;
}

.pv-btn--outline {
    --pv-btn-fill: var(--pv-ink);
    color: var(--pv-ink);
}

.pv-btn--outline-light {
    --pv-btn-fill: #fff;
    border-color: rgba(255, 255, 255, 0.63);
    color: #fff;
}

.pv-btn--outline::before,
.pv-btn--outline::after,
.pv-btn--outline-light::before,
.pv-btn--outline-light::after {
    width: 0;
}

.pv-btn--outline:hover,
.pv-btn--outline:focus-visible {
    color: #fff;
}

.pv-btn--outline-light:hover,
.pv-btn--outline-light:focus-visible {
    border-color: #fff;
    color: var(--pv-ink);
}

.pv-btn--outline:hover::before,
.pv-btn--outline:hover::after,
.pv-btn--outline:focus-visible::before,
.pv-btn--outline:focus-visible::after,
.pv-btn--outline-light:hover::before,
.pv-btn--outline-light:hover::after,
.pv-btn--outline-light:focus-visible::before,
.pv-btn--outline-light:focus-visible::after {
    width: 51%;
}

@media (prefers-reduced-motion: reduce) {
    .pv-btn,
    .pv-btn::before,
    .pv-btn::after {
        transition: none;
    }
}

/* ------------------------------------------------------------------ hero */
.pv-hero {
    padding: 64px 0 40px;
}

.pv-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px 64px;
    align-items: end;
}

.pv-hero__title {
    margin: 14px 0 0;
    font-family: var(--pv-head);
    font-size: clamp(42px, 5.4vw, 76px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--pv-ink);
    overflow-wrap: break-word;
}

.pv-hero__lead {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--pv-muted);
}

.pv-hero__lead a {
    color: var(--pv-ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--pv-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.pv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pv-hero__updated {
    margin: 18px 0 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a9da3;
}

/* ------------------------------------------------------------------ key facts (dark panel) */
.pv-facts {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(100deg, #0b0b0c 0%, #0b0b0c 45%, #1c0a0c 100%);
    color: #fff;
    box-shadow: 0 18px 44px rgba(16, 18, 22, 0.16);
}

/* Red diagonal, as on the homepage membership panel. */
.pv-facts::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -4%;
    z-index: -1;
    width: 22%;
    height: 180%;
    background: linear-gradient(180deg, rgba(242, 5, 25, 0.55), rgba(242, 5, 25, 0.08));
    transform: skewX(-24deg);
    pointer-events: none;
}

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

.pv-fact {
    padding: clamp(22px, 2.6vw, 36px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.pv-fact:first-child {
    border-left: 0;
}

.pv-fact__num {
    display: block;
    font-family: var(--pv-head);
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.pv-fact__unit {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--pv-red);
}

.pv-fact__text {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: #c9cacd;
}

/* ------------------------------------------------------------------ body: contents + sections */
.pv-body {
    padding: 72px 0 88px;
}

.pv-body__grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.pv-toc {
    position: sticky;
    top: 110px;
}

.pv-toc__title {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #9a9da3;
}

.pv-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pv-line);
}

.pv-toc__link {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 11px 0 11px 14px;
    border-bottom: 1px solid var(--pv-line);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--pv-ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pv-toc__link::before {
    content: '';
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: 0;
    width: 3px;
    background: var(--pv-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease;
}

.pv-toc__link:hover,
.pv-toc__link.is-active {
    color: var(--pv-red);
    text-decoration: none;
}

.pv-toc__link.is-active::before {
    transform: scaleY(1);
}

.pv-toc__num {
    flex: none;
    min-width: 20px;
    font: 800 12px/1.6 var(--pv-head);
    color: #b3b5ba;
}

.pv-toc__link.is-active .pv-toc__num,
.pv-toc__link:hover .pv-toc__num {
    color: var(--pv-red);
}

.pv-content {
    max-width: 860px;
}

.pv-intro {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--pv-ink);
}

/* Opening paragraphs above section 1 */
.pv-lede {
    margin-bottom: 44px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--pv-line);
}

.pv-lede p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--pv-ink);
}

.pv-lede p:last-child {
    margin-bottom: 0;
}

.pv-sec {
    padding: 44px 0;
    border-bottom: 1px solid var(--pv-line);
    scroll-margin-top: 110px;
}

.pv-sec:first-of-type {
    padding-top: 0;
}

.pv-sec:last-of-type {
    border-bottom: 0;
}

.pv-sec__num {
    display: block;
    margin-bottom: 8px;
    font: 800 13px/1 var(--pv-head);
    letter-spacing: 0.04em;
    color: var(--pv-red);
}

.pv-sec__title {
    margin: 0 0 22px;
    font-family: var(--pv-head);
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--pv-ink);
}

.pv-clause {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--pv-text);
}

.pv-clause:last-child {
    margin-bottom: 0;
}

.pv-clause__no {
    font: 700 13px/2 var(--pv-head);
    color: #9a9da3;
}

.pv-content p {
    color: inherit;
}

.pv-content a:not(.pv-btn) {
    color: var(--pv-ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--pv-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.pv-content a:not(.pv-btn):hover {
    color: var(--pv-red);
}

/* Un-numbered paragraph (policies without clause numbers) */
.pv-para {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--pv-text);
}

.pv-para:last-child {
    margin-bottom: 0;
}

.pv-clause + .pv-table-wrap,
.pv-para + .pv-table-wrap {
    margin-top: 4px;
}

/* Bulleted list with a red square marker */
.pv-list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.pv-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--pv-text);
}

.pv-list li::before {
    content: '';
    position: absolute;
    top: 0.72em;
    left: 2px;
    width: 7px;
    height: 7px;
    background: var(--pv-red);
}

.pv-list strong {
    color: var(--pv-ink);
    font-weight: 700;
}

.pv-list:last-child {
    margin-bottom: 0;
}

.pv-clause + .pv-list {
    margin-left: 56px;
}

/* Tables: dark header row, scroll sideways on narrow screens */
.pv-table-wrap {
    margin: 0 0 20px;
    overflow-x: auto;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    -webkit-overflow-scrolling: touch;
}

.pv-table-wrap:last-child {
    margin-bottom: 0;
}

.pv-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.55;
}

.pv-table th {
    padding: 14px 16px;
    background: #101113;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: left;
    text-transform: uppercase;
    vertical-align: bottom;
    color: #fff;
}

.pv-table td {
    padding: 14px 16px;
    border-top: 1px solid var(--pv-line);
    vertical-align: top;
    color: var(--pv-text);
}

.pv-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

.pv-table td:first-child {
    font-weight: 600;
    color: var(--pv-ink);
}

/* Tables too wide for a phone scroll sideways instead of squashing. */
.pv-table--mid {
    min-width: 520px;
}

.pv-table--wide {
    min-width: 720px;
}

.pv-table code {
    padding: 0;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Address / note card */
.pv-card {
    position: relative;
    margin: 20px 0 0 56px;
    padding: 22px 24px 22px 26px;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    background: #fff;
    box-shadow: 0 8px 30px rgba(18, 22, 33, 0.05);
}

.pv-card::before {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: -1px;
    width: 3px;
    background: var(--pv-red);
}

.pv-card__label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--pv-red);
}

.pv-card__body {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--pv-ink);
}

/* Non-returnable list */
.pv-xlist {
    display: grid;
    gap: 10px;
    margin: 16px 0 0 56px;
    padding: 0;
    list-style: none;
}

.pv-xlist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: var(--pv-radius);
    background: #f6f6f7;
    font-size: 15px;
    line-height: 1.6;
    color: var(--pv-ink);
}

.pv-xlist__mark {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--pv-red);
}

.pv-xlist__mark::before,
.pv-xlist__mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    margin: -1px 0 0 -5px;
    background: #fff;
    transform: rotate(45deg);
}

.pv-xlist__mark::after {
    transform: rotate(-45deg);
}

/* ------------------------------------------------------------------ cancellation form */
.pv-form {
    padding: clamp(22px, 3vw, 40px);
    border: 1px solid var(--pv-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(16, 18, 22, 0.08);
}

.pv-form__to {
    margin: 0 0 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--pv-line);
    font-size: 14px;
    line-height: 1.7;
    color: var(--pv-muted);
}

.pv-form__to strong {
    color: var(--pv-ink);
}

.pv-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
}

.pv-field--full {
    grid-column: 1 / -1;
}

.pv-label {
    display: block;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--pv-ink);
}

.pv-label--notice {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.pv-label .pv-req {
    color: var(--pv-red);
}

.pv-label .pv-opt {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #9a9da3;
}

.pv-input {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1.5px solid #d6d7db;
    border-radius: var(--pv-radius);
    background: #fff;
    font-family: var(--pv-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--pv-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

textarea.pv-input {
    min-height: 0;
    resize: vertical;
}

.pv-input::placeholder {
    color: #a7a9ae;
}

.pv-input:hover {
    border-color: #b3b5ba;
}

.pv-input:focus {
    outline: 0;
    border-color: var(--pv-ink);
    box-shadow: 0 0 0 4px rgba(23, 25, 28, 0.08);
}

.pv-input.is-invalid {
    border-color: var(--pv-red);
}

.pv-input--signature {
    font-family: var(--pv-body);
    font-style: italic;
    font-weight: 500;
}

.pv-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #9a9da3;
}

.pv-error {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pv-red);
}

.pv-alert {
    margin: 0 0 22px;
    padding: 14px 18px;
    border-left: 3px solid var(--pv-red);
    border-radius: var(--pv-radius);
    background: #fdecee;
    font-size: 14px;
    line-height: 1.6;
    color: var(--pv-ink);
}

.pv-form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--pv-line);
}

.pv-form__date {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--pv-muted);
}

.pv-form__captcha {
    grid-column: 1 / -1;
}

.pv-done {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.pv-done__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--pv-red);
    color: #fff;
}

.pv-done__icon svg {
    width: 22px;
    height: 22px;
}

.pv-done__title {
    margin: 4px 0 8px;
    font-family: var(--pv-head);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--pv-ink);
}

.pv-done__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* ------------------------------------------------------------------ contact (dark panel) */
.pv-contact {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px 40px;
    align-items: center;
    overflow: hidden;
    padding: clamp(26px, 3.2vw, 44px);
    border-radius: 8px;
    background: linear-gradient(100deg, #0b0b0c 0%, #0b0b0c 50%, #1c0a0c 100%);
    color: #fff;
    box-shadow: 0 18px 44px rgba(16, 18, 22, 0.16);
}

.pv-contact::after {
    content: '';
    position: absolute;
    top: -40%;
    right: 18%;
    z-index: -1;
    width: 14%;
    height: 180%;
    background: linear-gradient(180deg, rgba(242, 5, 25, 0.45), rgba(242, 5, 25, 0.05));
    transform: skewX(-24deg);
    pointer-events: none;
}

.pv-contact__title {
    margin: 12px 0 10px;
    font-family: var(--pv-head);
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
}

.pv-contact__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #c9cacd;
}

.pv-contact__hours {
    margin: 10px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.pv-contact__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pv-statutory {
    margin: 28px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: #9a9da3;
}

/* ------------------------------------------------------------------ tablet */
@media (max-width: 991.98px) {
    .pv-hero {
        padding-top: 44px;
    }

    .pv-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

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

    .pv-facts:not(.pv-facts--3) .pv-fact:nth-child(3) {
        border-left: 0;
    }

    .pv-facts:not(.pv-facts--3) .pv-fact:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Three facts stack one per row. */
    .pv-facts--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-facts--3 .pv-fact {
        border-left: 0;
    }

    .pv-facts--3 .pv-fact + .pv-fact {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pv-body {
        padding-top: 44px;
    }

    .pv-body__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    /* Contents become a swipeable row of chips. */
    .pv-toc {
        position: static;
    }

    .pv-toc__list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        border-top: 0;
        scrollbar-width: none;
    }

    .pv-toc__list::-webkit-scrollbar {
        display: none;
    }

    .pv-toc__link {
        padding: 9px 14px;
        border: 1px solid var(--pv-line);
        border-radius: 999px;
        white-space: nowrap;
    }

    .pv-toc__link::before {
        display: none;
    }

    .pv-contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-contact__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ------------------------------------------------------------------ mobile */
@media (max-width: 767.98px) {
    .pv-hero__lead {
        font-size: 15px;
    }

    .pv-fact__text {
        font-size: 12px;
    }

    .pv-sec {
        padding: 34px 0;
    }

    .pv-clause {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
        font-size: 14.5px;
    }

    .pv-card,
    .pv-xlist,
    .pv-clause + .pv-list {
        margin-left: 0;
    }

    .pv-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-form__foot .pv-btn {
        width: 100%;
    }

    .pv-contact__actions .pv-btn {
        flex: 1 1 100%;
    }
}
