.rpt-terms {
    --rpt-terms-ink: #17211d;
    --rpt-terms-muted: #65716b;
    --rpt-terms-border: rgba(23, 33, 29, .12);
    background: #f6f1e7;
}

.rpt-terms-hero {
    position: relative;
    padding: clamp(90px, 10vw, 145px) 0 clamp(92px, 10vw, 145px);
    color: #f7f2e8;
    background:
        radial-gradient(circle at 76% 27%, rgba(157, 184, 167, .14), transparent 28%),
        linear-gradient(133deg, #092920 0%, #123d31 62%, #173f34 100%);
    overflow: hidden;
}

.rpt-terms-hero::after {
    position: absolute;
    right: -105px;
    bottom: -215px;
    width: 510px;
    height: 510px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    box-shadow: 0 0 0 78px rgba(255,255,255,.018), 0 0 0 156px rgba(255,255,255,.01);
    content: "";
    pointer-events: none;
}

.rpt-terms-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
    gap: clamp(52px, 8vw, 118px);
    align-items: end;
}

.rpt-terms-hero h1 {
    max-width: 820px;
    margin: 0 0 28px;
    font-family: var(--rpt-serif);
    font-size: clamp(58px, 8.2vw, 116px);
    font-weight: 400;
    letter-spacing: -.061em;
    line-height: .87;
}

.rpt-terms-hero__lead {
    max-width: 760px;
    margin: 0;
    color: rgba(247, 242, 232, .77);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.76;
}

.rpt-terms-hero__card {
    padding: 27px 29px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 25px;
    background: rgba(255,255,255,.055);
    box-shadow: 0 24px 70px rgba(0,0,0,.14);
    backdrop-filter: blur(11px);
}

.rpt-terms-hero__card-label {
    display: block;
    margin-bottom: 15px;
    color: #d1b777;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.rpt-terms-hero__stat {
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;
    align-items: baseline;
}

.rpt-terms-hero__stat strong {
    font-family: var(--rpt-serif);
    font-size: 24px;
    font-weight: 400;
    color: #fff;
}

.rpt-terms-hero__stat span {
    color: rgba(247,242,232,.66);
    font-size: 11px;
    line-height: 1.45;
}

.rpt-terms-summary {
    position: relative;
    z-index: 3;
    margin-top: -36px;
}

.rpt-terms-summary__panel {
    padding: 34px 38px;
    border: 1px solid rgba(18,61,49,.11);
    border-radius: 26px;
    display: grid;
    grid-template-columns: minmax(220px,.75fr) minmax(0,1.75fr);
    gap: 42px;
    background: #fff;
    box-shadow: 0 25px 76px rgba(18,61,49,.08);
}

.rpt-terms-summary__intro span {
    display: block;
    margin-bottom: 9px;
    color: var(--rpt-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.rpt-terms-summary__intro h2 {
    margin: 0;
    font-family: var(--rpt-serif);
    font-size: clamp(28px,3vw,39px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.rpt-terms-summary__items {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}

.rpt-terms-summary__items > div {
    padding-left: 18px;
    border-left: 1px solid rgba(185,139,66,.42);
}

.rpt-terms-summary__items strong {
    display: block;
    margin-bottom: 6px;
    color: #123d31;
    font-size: 12px;
}

.rpt-terms-summary__items p {
    margin: 0;
    color: #66716c;
    font-size: 12px;
    line-height: 1.65;
}

.rpt-terms-body {
    padding: clamp(80px,9vw,130px) 0 clamp(105px,12vw,170px);
}

.rpt-terms-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 800px);
    gap: clamp(58px,8vw,116px);
    justify-content: center;
    align-items: start;
}

.rpt-terms-nav {
    position: relative;
    align-self: stretch;
    min-width: 0;
}

.rpt-terms-nav__inner {
    position: sticky;
    top: calc(var(--rpt-native-header-height, 72px) + 24px);
    max-height: calc(100vh - var(--rpt-native-header-height, 72px) - 48px);
    padding: 23px 2px 21px 0;
    border-top: 1px solid var(--rpt-gold);
    border-bottom: 1px solid var(--rpt-terms-border);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.rpt-terms-nav__label {
    display: block;
    margin-bottom: 15px;
    color: var(--rpt-terms-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.rpt-terms-search { margin: 0 0 18px; }
.rpt-terms-search__field { position: relative; }

.rpt-terms-search__icon {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 12px;
    height: 12px;
    border: 1.5px solid #66736c;
    border-radius: 50%;
    transform: translateY(-58%);
    pointer-events: none;
}

.rpt-terms-search__icon::after {
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 6px;
    height: 1.5px;
    border-radius: 999px;
    background: #66736c;
    content: "";
    transform: rotate(45deg);
    transform-origin: left center;
}

.rpt-terms-search input {
    width: 100%;
    height: 42px;
    padding: 0 34px 0 35px;
    border: 1px solid rgba(23,33,29,.16);
    border-radius: 12px;
    outline: 0;
    color: #17392f;
    background: rgba(255,255,255,.72);
    font: inherit;
    font-size: 12px;
}

.rpt-terms-search input:focus {
    border-color: rgba(185,139,66,.72);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(185,139,66,.11);
}

.rpt-terms-search__clear {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #526159;
    background: transparent;
    cursor: pointer;
    font-size: 19px;
    transform: translateY(-50%);
}

.rpt-terms-search__clear:hover,
.rpt-terms-search__clear:focus-visible { background: rgba(18,61,49,.08); }

.rpt-terms-search__status {
    min-height: 27px;
    margin: 8px 1px 0;
    color: var(--rpt-terms-muted);
    font-size: 9px;
    line-height: 1.45;
}

.rpt-terms-nav nav { display: grid; gap: 1px; }

.rpt-terms-nav a {
    position: relative;
    padding: 6px 0 6px 15px;
    color: #4f5b55;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.rpt-terms-nav a::before {
    position: absolute;
    top: 13px;
    left: 0;
    width: 5px;
    height: 1px;
    background: var(--rpt-gold);
    content: "";
}

.rpt-terms-nav a:hover,
.rpt-terms-nav a:focus-visible,
.rpt-terms-nav a.is-active {
    color: #123d31;
    transform: translateX(2px);
}

.rpt-terms-nav a.is-active { font-weight: 800; }

.rpt-terms-content { min-width: 0; }

.rpt-terms-section {
    position: relative;
    padding: 0 0 64px;
    margin: 0 0 64px;
    border-bottom: 1px solid var(--rpt-terms-border);
    scroll-margin-top: calc(var(--rpt-native-header-height,72px) + 36px);
}

.rpt-terms-section:last-child { margin-bottom: 0; }

.rpt-terms-section.is-search-match::before {
    position: absolute;
    inset: -18px -20px 44px;
    border: 1px solid rgba(185,139,66,.25);
    border-radius: 22px;
    background: rgba(255,255,255,.22);
    content: "";
    pointer-events: none;
}

.rpt-terms-number {
    position: relative;
    z-index: 1;
    margin: 0 0 13px !important;
    color: var(--rpt-gold);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .18em;
}

.rpt-terms-section h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    color: #123d31;
    font-family: var(--rpt-serif);
    font-size: clamp(34px,4vw,51px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.rpt-terms-section h3 {
    color: #173d32;
    font-size: 15px;
    line-height: 1.35;
}

.rpt-terms-section > p,
.rpt-terms-section > ul {
    position: relative;
    z-index: 1;
}

.rpt-terms-section > p {
    margin: 0 0 18px;
    color: #3f4b45;
    font-size: 15px;
    line-height: 1.85;
}

.rpt-terms-section > p:last-child { margin-bottom: 0; }
.rpt-terms-section a { color: #8a632c; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rpt-terms-section a:hover { color: #123d31; }

.rpt-terms-section ul {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.rpt-terms-section li {
    position: relative;
    padding: 11px 0 11px 24px;
    border-top: 1px solid rgba(23,33,29,.09);
    color: #45514b;
    font-size: 14px;
    line-height: 1.72;
}

.rpt-terms-section li::before {
    position: absolute;
    top: 21px;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rpt-gold);
    content: "";
}

.rpt-terms-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin: 26px 0 24px;
}

.rpt-terms-card {
    padding: 23px 20px;
    border: 1px solid rgba(18,61,49,.11);
    border-radius: 18px;
    background: rgba(255,255,255,.5);
}

.rpt-terms-card > span {
    display: block;
    margin-bottom: 12px;
    color: var(--rpt-gold);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.rpt-terms-card h3 { margin: 0 0 9px; }
.rpt-terms-card p { margin: 0; color: #626e68; font-size: 12px; line-height: 1.7; }

.rpt-terms-rule {
    position: relative;
    z-index: 1;
    margin: 27px 0 25px;
    padding: 27px 29px;
    border: 1px solid rgba(18,61,49,.12);
    border-radius: 22px;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 25px;
    align-items: center;
    background: #fff;
    box-shadow: 0 16px 48px rgba(18,61,49,.055);
}

.rpt-terms-rule__figure {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #123d31;
    font-family: var(--rpt-serif);
    font-size: 37px;
}

.rpt-terms-rule span {
    display: block;
    margin-bottom: 5px;
    color: #b98b42;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rpt-terms-rule p { margin: 0; color: #4b5751; font-size: 14px; line-height: 1.75; }

.rpt-terms-note {
    position: relative;
    z-index: 1;
    margin: 27px 0;
    padding: 22px 24px;
    border-radius: 18px;
}

.rpt-terms-note strong { display: block; margin-bottom: 7px; font-size: 13px; }
.rpt-terms-note p { margin: 0; font-size: 13px; line-height: 1.75; }

.rpt-terms-note--gold {
    border: 1px solid rgba(185,139,66,.28);
    color: #60491e;
    background: rgba(185,139,66,.09);
}

.rpt-terms-note--dark { color: #f6f1e7; background: #123d31; }
.rpt-terms-note--dark p { color: rgba(246,241,231,.75); }

.rpt-terms-note--sage {
    border: 1px solid rgba(18,61,49,.12);
    color: #173d32;
    background: rgba(157,184,167,.21);
}

.rpt-terms-contact {
    padding: 37px 39px 34px;
    border: 0;
    border-radius: 26px;
    color: #f6f1e7;
    background: #092920;
}

.rpt-terms-contact h2 { color: #fff; }
.rpt-terms-contact > p { color: rgba(246,241,231,.74); }
.rpt-terms-contact__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }

.rpt-terms-contact .rpt-btn-dark {
    color: #123d31 !important;
    background: #f6f1e7;
}

.rpt-terms-contact .rpt-btn-outline-dark {
    border-color: rgba(246,241,231,.4);
    color: #f6f1e7 !important;
    background: transparent;
}

.rpt-terms-updated {
    margin-top: 25px !important;
    color: rgba(246,241,231,.48) !important;
    font-size: 10px !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .rpt-terms-hero__grid { grid-template-columns: 1fr; gap: 42px; }
    .rpt-terms-hero__card { max-width: 520px; }
    .rpt-terms-summary__panel { grid-template-columns: 1fr; gap: 28px; }
    .rpt-terms-layout { grid-template-columns: 1fr; gap: 48px; }
    .rpt-terms-nav { align-self: auto; }
    .rpt-terms-nav__inner { position: static; max-height: none; overflow: visible; }
    .rpt-terms-nav nav { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; }
}

@media (max-width: 720px) {
    .rpt-terms-hero { padding-top: 76px; }
    .rpt-terms-hero h1 { font-size: clamp(52px,16vw,82px); }
    .rpt-terms-summary__panel { padding: 28px 24px; }
    .rpt-terms-summary__items { grid-template-columns: 1fr; gap: 16px; }
    .rpt-terms-cards { grid-template-columns: 1fr; }
    .rpt-terms-rule { grid-template-columns: 64px 1fr; padding: 22px 20px; gap: 18px; }
    .rpt-terms-rule__figure { width: 62px; height: 62px; font-size: 30px; }
    .rpt-terms-contact { padding: 30px 25px 28px; }
}

@media (max-width: 560px) {
    .rpt-terms-nav nav { grid-template-columns: 1fr; }
    .rpt-terms-hero__card { padding: 23px 22px; }
    .rpt-terms-hero__stat { grid-template-columns: 73px 1fr; }
    .rpt-terms-section { padding-bottom: 50px; margin-bottom: 50px; }
    .rpt-terms-section.is-search-match::before { inset: -12px -10px 34px; }
}
