/* Reservify · recovery, legal, errors and empty states */

.rv-auth-body {
    --rv-state-ink: #10282b;
    --rv-state-ink-soft: #183a3c;
    --rv-state-mint: #8adbc0;
    --rv-state-mint-bright: #ccf8e7;
    --rv-state-paper: #f4f1e8;
    --rv-state-copper: #d69b68;
    background:
        radial-gradient(circle at 8% 0, rgba(76, 151, 130, .09), transparent 25rem),
        linear-gradient(180deg, #faf8f2, #f0ede5);
}

.rv-system-state-page,
.rv-recovery-page,
.rv-legal-page {
    box-sizing: border-box;
    margin: 0 auto;
    min-height: calc(100vh - 48px);
    padding: clamp(16px, 3vw, 44px);
    width: 100%;
}

/* Error system */

.rv-system-state-page {
    align-items: center;
    display: flex;
    justify-content: center;
    max-width: 1480px;
}

.rv-system-state {
    background: #fff;
    border: 1px solid rgba(16, 40, 43, .1);
    border-radius: 30px;
    box-shadow: 0 34px 90px rgba(16, 40, 43, .16);
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    min-height: 650px;
    overflow: hidden;
    width: 100%;
}

.rv-system-state-copy {
    align-self: center;
    padding: clamp(40px, 6vw, 86px);
}

.rv-system-state-copy .rv-brand {
    display: inline-flex;
    margin-bottom: clamp(56px, 8vh, 90px);
}

.rv-system-state-kicker,
.rv-state-eyebrow,
.rv-state-section-kicker {
    align-items: center;
    color: #517b73;
    display: inline-flex;
    font-size: 9px;
    font-weight: 850;
    gap: 7px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.rv-system-state-copy h1 {
    color: var(--rv-state-ink);
    font-family: var(--w-font-display);
    font-size: clamp(42px, 5vw, 68px);
    letter-spacing: -.06em;
    line-height: .96;
    margin: 18px 0;
    max-width: 680px;
}

.rv-system-state-copy > p {
    color: #687a77;
    font-size: 13px;
    line-height: 1.75;
    margin: 0;
    max-width: 620px;
}

.rv-system-state-context {
    align-items: start;
    background: #f4f7f4;
    border: 1px solid rgba(57, 119, 101, .1);
    border-radius: 15px;
    display: flex;
    gap: 12px;
    margin-top: 28px;
    max-width: 610px;
    padding: 15px 17px;
}

.rv-system-state-context > [data-icon] {
    color: #4b8c7a;
    flex: 0 0 auto;
}

.rv-system-state-context strong {
    color: var(--rv-state-ink);
    display: block;
    font-size: 10px;
}

.rv-system-state-context p {
    color: #52686c;
    font-size: 9px;
    line-height: 1.55;
    margin: 4px 0 0;
}

.rv-system-state-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.rv-system-state-reference {
    align-items: center;
    background: #faf7ef;
    border: 1px solid rgba(16, 40, 43, .1);
    border-radius: 12px;
    display: grid;
    gap: 4px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 23px;
    max-width: 610px;
    padding: 12px 14px;
}

.rv-system-state-reference > span {
    color: #7a8785;
    font-size: 8px;
    font-weight: 800;
    grid-column: 1;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.rv-system-state-reference strong {
    color: #344e49;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 10px;
    grid-column: 1;
    overflow-wrap: anywhere;
}

.rv-system-state-reference button {
    background: transparent;
    border: 0;
    color: #4d8176;
    cursor: pointer;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 8px;
}

.rv-system-state-reference button:focus-visible {
    border-radius: 7px;
    box-shadow: var(--w-focus);
    outline: 0;
}

.rv-system-state-visual {
    align-items: center;
    background:
        linear-gradient(112deg, rgba(255, 255, 255, .032) 1px, transparent 1px) 0 0 / 27px 27px,
        radial-gradient(circle at 75% 20%, rgba(138, 219, 192, .18), transparent 20rem),
        linear-gradient(145deg, #10282b, #193b3d);
    color: #fff;
    display: flex;
    justify-content: center;
    overflow: hidden;
    perspective: 800px;
    position: relative;
}

.rv-system-state.is-restricted .rv-system-state-visual {
    background:
        linear-gradient(112deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 27px 27px,
        radial-gradient(circle at 75% 20%, rgba(214, 155, 104, .2), transparent 20rem),
        linear-gradient(145deg, #14272a, #3a322a);
}

.rv-system-state.is-interrupted .rv-system-state-visual {
    background:
        linear-gradient(112deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 27px 27px,
        radial-gradient(circle at 75% 20%, rgba(206, 101, 91, .16), transparent 20rem),
        linear-gradient(145deg, #152729, #382d2b);
}

.rv-state-code {
    color: rgba(255, 255, 255, .035);
    font-family: var(--w-font-display);
    font-size: clamp(170px, 20vw, 330px);
    letter-spacing: -.1em;
    line-height: 1;
    position: absolute;
    right: -18px;
    top: 20px;
}

.rv-state-room {
    background:
        linear-gradient(135deg, rgba(138, 219, 192, .13), rgba(255, 255, 255, .02)),
        #173538;
    border: 1px solid rgba(138, 219, 192, .25);
    border-radius: 28px;
    box-shadow: -42px 44px 80px rgba(0, 0, 0, .34);
    height: 300px;
    position: relative;
    transform: rotateX(58deg) rotateZ(-33deg);
    transform-style: preserve-3d;
    width: 360px;
}

.rv-state-floor-line {
    background: rgba(255, 255, 255, .07);
    height: 1px;
    left: 15%;
    position: absolute;
    right: 15%;
}

.rv-state-floor-line.is-one {
    top: 30%;
}

.rv-state-floor-line.is-two {
    top: 53%;
}

.rv-state-floor-line.is-three {
    top: 76%;
}

.rv-state-door {
    background: linear-gradient(90deg, #7f624d, var(--rv-state-copper));
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 9px 9px 2px 2px;
    box-shadow: 0 24px 34px rgba(0, 0, 0, .28);
    height: 145px;
    left: 116px;
    position: absolute;
    top: 63px;
    transform: rotateZ(33deg) rotateX(-58deg);
    width: 102px;
}

.rv-state-door::after {
    background: #f0d49f;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(240, 212, 159, .55);
    content: "";
    height: 7px;
    position: absolute;
    right: 13px;
    top: 72px;
    width: 7px;
}

.rv-state-key {
    border: 5px solid var(--rv-state-mint);
    border-radius: 50%;
    height: 23px;
    left: 238px;
    position: absolute;
    top: 68px;
    transform: translateZ(28px);
    width: 23px;
}

.rv-state-key::after {
    background: var(--rv-state-mint);
    content: "";
    height: 5px;
    left: 20px;
    position: absolute;
    top: 8px;
    width: 45px;
}

.rv-state-table {
    background: linear-gradient(145deg, #f0e0c7, #b8845c);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    box-shadow: 0 24px 35px rgba(0, 0, 0, .28);
    height: 108px;
    left: 126px;
    position: absolute;
    top: 88px;
    transform: translateZ(34px);
    width: 108px;
}

.rv-state-table.is-paused {
    filter: saturate(.45);
}

.rv-state-table.is-paused::after {
    border-left: 8px solid rgba(255, 255, 255, .72);
    border-right: 8px solid rgba(255, 255, 255, .72);
    content: "";
    height: 26px;
    left: 40px;
    position: absolute;
    top: 41px;
    width: 11px;
}

.rv-state-chair {
    background: #376e68;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 9px;
    height: 42px;
    position: absolute;
    top: 122px;
    width: 37px;
}

.rv-state-chair.is-left {
    left: 69px;
}

.rv-state-chair.is-right {
    right: 69px;
}

.rv-state-route {
    border: 2px dashed var(--rv-state-mint);
    border-bottom: 0;
    border-left: 0;
    border-radius: 0 60px 0 0;
    height: 70px;
    position: absolute;
    right: 22px;
    top: 190px;
    width: 126px;
}

.rv-state-route::after {
    border-bottom: 5px solid transparent;
    border-left: 9px solid var(--rv-state-mint);
    border-top: 5px solid transparent;
    content: "";
    position: absolute;
    right: -3px;
    top: -6px;
}

.rv-state-signal {
    background: #d06c62;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(208, 108, 98, .1), 0 0 28px rgba(208, 108, 98, .5);
    height: 10px;
    position: absolute;
    right: 54px;
    top: 49px;
    transform: translateZ(25px);
    width: 10px;
}

.rv-state-visual-label {
    bottom: 34px;
    color: rgba(255, 255, 255, .42);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .2em;
    position: absolute;
}

/* Recovery and password */

.rv-recovery-page {
    align-items: center;
    display: flex;
    justify-content: center;
    max-width: 1320px;
}

.rv-recovery-shell {
    background: #fff;
    border: 1px solid rgba(16, 40, 43, .09);
    border-radius: 30px;
    box-shadow: 0 34px 90px rgba(16, 40, 43, .16);
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
    min-height: 700px;
    overflow: hidden;
    width: 100%;
}

.rv-recovery-story {
    background:
        linear-gradient(112deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 27px 27px,
        radial-gradient(circle at 90% 12%, rgba(138, 219, 192, .18), transparent 18rem),
        var(--rv-state-ink);
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(38px, 5vw, 64px);
    position: relative;
}

.rv-recovery-story .rv-brand {
    color: #fff;
}

.rv-recovery-story-copy {
    margin-top: clamp(62px, 10vh, 105px);
    position: relative;
    z-index: 2;
}

.rv-recovery-story .rv-state-eyebrow {
    color: var(--rv-state-mint-bright);
}

.rv-recovery-story h1 {
    color: #fff;
    font-family: var(--w-font-display);
    font-size: clamp(42px, 5vw, 63px);
    letter-spacing: -.06em;
    line-height: .96;
    margin: 18px 0;
}

.rv-recovery-story-copy > p {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
    max-width: 460px;
}

.rv-recovery-path {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 45px 0 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.rv-recovery-path li {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 58px;
    opacity: .42;
    position: relative;
}

.rv-recovery-path li::after {
    background: rgba(255, 255, 255, .13);
    bottom: -6px;
    content: "";
    left: 15px;
    position: absolute;
    top: 39px;
    width: 1px;
}

.rv-recovery-path li:last-child::after {
    display: none;
}

.rv-recovery-path li > span {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: flex;
    font-family: var(--w-font-display);
    font-size: 8px;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.rv-recovery-path li.is-current {
    opacity: 1;
}

.rv-recovery-path li.is-current > span {
    background: var(--rv-state-mint-bright);
    border-color: var(--rv-state-mint-bright);
    color: var(--rv-state-ink);
    box-shadow: 0 0 0 7px rgba(138, 219, 192, .08);
}

.rv-recovery-path strong,
.rv-recovery-path small {
    display: block;
}

.rv-recovery-path strong {
    color: #fff;
    font-size: 10px;
}

.rv-recovery-path small {
    color: rgba(255, 255, 255, .48);
    font-size: 8px;
    margin-top: 3px;
}

.rv-recovery-orbit {
    bottom: -78px;
    height: 250px;
    opacity: .7;
    perspective: 550px;
    position: absolute;
    right: -60px;
    width: 300px;
}

.rv-recovery-orbit i {
    border: 1px solid rgba(138, 219, 192, .2);
    border-radius: 50%;
    inset: 0;
    position: absolute;
    transform: rotateX(67deg) rotateZ(-20deg);
}

.rv-recovery-orbit i:nth-child(2) {
    inset: 34px;
}

.rv-recovery-orbit i:nth-child(3) {
    border-color: rgba(214, 155, 104, .35);
    inset: 68px;
}

.rv-recovery-orbit > span {
    align-items: center;
    background: rgba(138, 219, 192, .16);
    border: 1px solid rgba(138, 219, 192, .28);
    border-radius: 18px;
    color: var(--rv-state-mint);
    display: flex;
    height: 60px;
    justify-content: center;
    left: 120px;
    position: absolute;
    top: 95px;
    transform: rotate(-8deg);
    width: 60px;
}

.rv-recovery-panel {
    align-self: center;
    margin: 0 auto;
    max-width: 580px;
    padding: clamp(40px, 6vw, 78px);
    width: 100%;
}

.rv-state-backlink {
    align-items: center;
    color: #657976;
    display: inline-flex;
    font-size: 10px;
    font-weight: 750;
    gap: 7px;
    margin-bottom: 44px;
}

.rv-state-backlink:hover {
    color: var(--rv-state-ink);
}

.rv-recovery-panel h2 {
    color: var(--rv-state-ink);
    font-family: var(--w-font-display);
    font-size: clamp(30px, 3.4vw, 43px);
    letter-spacing: -.05em;
    line-height: 1;
    margin: 11px 0 13px;
}

.rv-recovery-intro {
    color: #52686c;
    font-size: 11px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.rv-recovery-panel > .w-alert {
    margin: 0 0 20px;
}

.rv-recovery-form,
.rv-password-state-form {
    display: grid;
    gap: 18px;
}

.rv-recovery-form .w-input,
.rv-password-state-form .w-input {
    background-color: #f8f6f0;
    border-color: rgba(16, 40, 43, .13);
}

.rv-recovery-form .w-input:focus,
.rv-password-state-form .w-input:focus {
    background-color: #fff;
    border-color: #579c88;
    box-shadow: 0 0 0 4px rgba(87, 156, 136, .1);
}

.rv-recovery-sent {
    align-items: start;
    background: linear-gradient(145deg, #edf9f4, #f8fbf8);
    border: 1px solid rgba(67, 145, 123, .2);
    border-radius: 16px;
    display: grid;
    gap: 13px;
    grid-template-columns: 42px minmax(0, 1fr);
    margin-bottom: 20px;
    padding: 16px;
}

.rv-recovery-sent-mark {
    align-items: center;
    background: #dff4ec;
    border-radius: 12px;
    color: #3e866f;
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.rv-recovery-sent div {
    display: grid;
    gap: 3px;
}

.rv-recovery-sent div > span {
    color: #608078;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.rv-recovery-sent strong {
    color: var(--rv-state-ink);
    font-size: 12px;
}

.rv-recovery-sent p {
    color: #668078;
    font-size: 9px;
    line-height: 1.5;
    margin: 0;
}

.rv-recovery-guarantee {
    align-items: start;
    color: #778683;
    display: flex;
    font-size: 9px;
    gap: 8px;
    line-height: 1.55;
    margin-top: 22px;
}

.rv-recovery-guarantee [data-icon] {
    color: #4d8979;
    flex: 0 0 auto;
}

.rv-recovery-guarantee p {
    margin: 0;
}

.rv-password-principles {
    display: grid;
    gap: 9px;
    margin-top: 45px;
    position: relative;
    z-index: 2;
}

.rv-password-principles article {
    align-items: center;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 12px;
}

.rv-password-principles article > [data-icon] {
    color: var(--rv-state-mint);
}

.rv-password-principles strong,
.rv-password-principles small {
    display: block;
}

.rv-password-principles strong {
    color: #fff;
    font-size: 9px;
}

.rv-password-principles small {
    color: rgba(255, 255, 255, .45);
    font-size: 8px;
    margin-top: 3px;
}

.rv-password-account {
    align-items: center;
    background: #f5f3ec;
    border-radius: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: 28px minmax(0, 1fr);
    margin: 19px 0;
    padding: 12px 14px;
}

.rv-password-account > [data-icon] {
    color: #4f897a;
}

.rv-password-account span,
.rv-password-account strong {
    display: block;
}

.rv-password-account div > span {
    color: #7b8986;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rv-password-account strong {
    color: var(--rv-state-ink);
    font-size: 10px;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.rv-password-state-form .rv-password-requirements {
    background: #f7f5ef;
    border: 1px solid rgba(16, 40, 43, .08);
    border-radius: 13px;
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: -7px 0 0;
    padding: 13px;
}

.rv-state-secret {
    display: block;
    position: relative;
}

.rv-state-secret .w-control {
    display: block;
}

.rv-state-secret .w-input {
    padding-right: 80px;
}

.rv-state-secret > button {
    background: transparent;
    border: 0;
    color: #4e8176;
    cursor: pointer;
    font: inherit;
    font-size: 8px;
    font-weight: 850;
    padding: 8px;
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
}

.rv-state-secret > button:focus-visible {
    border-radius: 7px;
    box-shadow: var(--w-focus);
    outline: 0;
}

.rv-password-strength {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: -9px;
}

.rv-password-strength > span {
    background: #e6e4dd;
    border-radius: 99px;
    height: 4px;
    overflow: hidden;
}

.rv-password-strength i {
    background: #b5bbb8;
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width 180ms ease, background-color 180ms ease;
    width: var(--rv-strength, 0%);
}

.rv-password-strength small {
    color: #788683;
    font-size: 8px;
    min-width: 72px;
    text-align: right;
}

/* Legal */

.rv-legal-page {
    max-width: 1380px;
}

.rv-legal-hero {
    align-items: end;
    background:
        linear-gradient(112deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 27px 27px,
        radial-gradient(circle at 85% 12%, rgba(138, 219, 192, .18), transparent 19rem),
        var(--rv-state-ink);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(16, 40, 43, .16);
    color: #fff;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 350px;
    overflow: hidden;
    padding: clamp(38px, 5vw, 68px);
    position: relative;
}

.rv-legal-hero > div:first-child {
    max-width: 780px;
}

.rv-legal-hero .rv-brand {
    color: #fff;
    display: inline-flex;
    margin-bottom: 54px;
}

.rv-legal-hero .rv-state-eyebrow {
    color: var(--rv-state-mint-bright);
    display: flex;
}

.rv-legal-hero h1 {
    color: #fff;
    font-family: var(--w-font-display);
    font-size: clamp(42px, 5vw, 66px);
    letter-spacing: -.06em;
    line-height: .96;
    margin: 17px 0;
}

.rv-legal-hero p {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
}

.rv-legal-seal {
    align-items: flex-start;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(138, 219, 192, .22);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 8px;
    min-height: 132px;
    min-width: 226px;
    overflow: hidden;
    padding: 24px 26px;
    position: relative;
}

.rv-legal-seal::after {
    border: 1px dashed rgba(138, 219, 192, .25);
    border-radius: 16px;
    content: "";
    inset: 8px;
    pointer-events: none;
    position: absolute;
}

.rv-legal-seal span,
.rv-legal-seal small {
    color: rgba(255, 255, 255, .52);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rv-legal-seal strong {
    color: var(--rv-state-mint-bright);
    font-family: var(--w-font-display);
    font-size: clamp(13px, 1.35vw, 17px);
    line-height: 1.18;
    margin: 8px 0;
    max-width: 174px;
    overflow-wrap: anywhere;
    position: relative;
    z-index: 1;
}

.rv-legal-alert {
    margin-top: 20px;
}

.rv-legal-layout {
    align-items: start;
    display: grid;
    gap: clamp(22px, 3vw, 38px);
    grid-template-columns: minmax(280px, .34fr) minmax(0, .66fr);
    margin-top: clamp(22px, 3vw, 38px);
}

.rv-legal-aside {
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(16, 40, 43, .1);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(16, 40, 43, .07);
    padding: 23px;
    position: sticky;
    top: 24px;
}

.rv-legal-aside dl {
    border-bottom: 1px solid rgba(16, 40, 43, .08);
    border-top: 1px solid rgba(16, 40, 43, .08);
    display: grid;
    margin: 18px 0;
    padding: 6px 0;
}

.rv-legal-aside dl > div {
    align-items: center;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 9px 0;
}

.rv-legal-aside dt {
    color: #798784;
    font-size: 9px;
}

.rv-legal-aside dd {
    color: var(--rv-state-ink);
    font-size: 9px;
    font-weight: 800;
    margin: 0;
    overflow-wrap: anywhere;
}

.rv-legal-progress {
    display: grid;
    gap: 9px;
    margin: 18px 0;
}

.rv-legal-progress > div {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.rv-legal-progress > div span {
    color: #70807d;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.rv-legal-progress > div strong {
    color: #397664;
    font-family: var(--w-font-display);
    font-size: 13px;
}

.rv-legal-progress > span {
    background: #e3e6df;
    border-radius: 99px;
    height: 4px;
    overflow: hidden;
}

.rv-legal-progress i {
    background: linear-gradient(90deg, var(--rv-state-copper), var(--rv-state-mint));
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width 160ms ease;
    width: var(--rv-terms-progress, 0%);
}

.rv-legal-aside > p {
    color: #52686c;
    font-size: 9px;
    line-height: 1.55;
    margin: 0 0 18px;
}

.rv-legal-decision h2 {
    color: var(--rv-state-ink);
    font-family: var(--w-font-display);
    font-size: 23px;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin: 9px 0;
}

.rv-legal-accept-form {
    border-top: 1px solid rgba(16, 40, 43, .08);
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
}

.rv-legal-accept-form .w-check {
    align-items: flex-start;
}

.rv-legal-reject-form {
    margin-top: 7px;
}

.rv-legal-document {
    background: #fffefa;
    border: 1px solid rgba(16, 40, 43, .1);
    border-radius: 22px;
    box-shadow: 0 22px 58px rgba(16, 40, 43, .08);
    overflow: hidden;
}

.rv-legal-document-head {
    background:
        radial-gradient(circle at 100% 0, rgba(138, 219, 192, .1), transparent 15rem),
        #fff;
    border-bottom: 1px solid rgba(16, 40, 43, .08);
    padding: 28px clamp(24px, 4vw, 48px);
}

.rv-legal-document-head > span {
    color: #4e7d73;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.rv-legal-document-head h2 {
    color: var(--rv-state-ink);
    font-family: var(--w-font-display);
    font-size: 28px;
    letter-spacing: -.04em;
    margin: 8px 0 5px;
}

.rv-legal-document-head p {
    color: #75827f;
    font-size: 9px;
    margin: 0;
}

.rv-legal-copy {
    counter-reset: legal-section;
    padding: 18px clamp(24px, 4vw, 48px) 34px;
}

.rv-legal-copy p {
    color: #465b57;
    counter-increment: legal-section;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.78;
    margin: 0;
    padding: 22px 0 22px 46px;
    position: relative;
}

.rv-legal-copy p + p {
    border-top: 1px solid rgba(16, 40, 43, .07);
}

.rv-legal-copy p::before {
    color: #69a693;
    content: counter(legal-section, decimal-leading-zero);
    font-family: var(--w-font-display);
    font-size: 10px;
    left: 0;
    letter-spacing: .04em;
    position: absolute;
    top: 27px;
}

.rv-legal-document > footer {
    align-items: center;
    background: #eef6f2;
    color: #4e7069;
    display: flex;
    font-size: 9px;
    gap: 8px;
    justify-content: center;
    padding: 14px;
}

/* Shared empty states across panel contexts */

.w-empty {
    background:
        radial-gradient(circle at 50% 0, rgba(101, 176, 154, .09), transparent 13rem),
        linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(247, 245, 239, .8));
    border: 1px dashed rgba(16, 40, 43, .15);
    border-radius: 18px;
    min-height: 220px;
    padding: clamp(28px, 5vw, 52px);
}

.w-empty .w-empty-visual {
    background: #e9f4ef;
    border: 1px solid rgba(71, 143, 123, .16);
    border-radius: 16px;
    color: #45816f;
    box-shadow: 0 14px 30px rgba(16, 40, 43, .08);
}

.w-empty h2,
.w-empty h3 {
    color: #173235;
    font-family: var(--w-font-display);
    letter-spacing: -.03em;
}

.w-empty p {
    color: #6f807d;
    line-height: 1.6;
    max-width: 460px;
}

@media (max-width: 920px) {
    .rv-system-state,
    .rv-recovery-shell {
        grid-template-columns: 1fr;
    }

    .rv-system-state-visual {
        min-height: 430px;
        grid-row: 1;
    }

    .rv-system-state-copy {
        grid-row: 2;
    }

    .rv-recovery-story {
        min-height: 500px;
    }

    .rv-legal-layout {
        grid-template-columns: 1fr;
    }

    .rv-legal-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .rv-system-state-page,
    .rv-recovery-page,
    .rv-legal-page {
        padding: 14px;
    }

    .rv-system-state,
    .rv-recovery-shell,
    .rv-legal-hero {
        border-radius: 21px;
    }

    .rv-system-state-visual {
        min-height: 320px;
    }

    .rv-state-room {
        height: 220px;
        transform: rotateX(58deg) rotateZ(-33deg) scale(.78);
        width: 290px;
    }

    .rv-system-state-copy {
        padding: 34px 24px;
    }

    .rv-system-state-copy .rv-brand {
        margin-bottom: 46px;
    }

    .rv-system-state-copy h1 {
        font-size: 44px;
    }

    .rv-system-state-actions {
        align-items: stretch;
        display: grid;
        grid-template-columns: 1fr;
    }

    .rv-system-state-actions .w-btn {
        justify-content: center;
    }

    .rv-recovery-story {
        min-height: 470px;
        padding: 34px 24px;
    }

    .rv-recovery-story-copy {
        margin-top: 60px;
    }

    .rv-recovery-story h1 {
        font-size: 44px;
    }

    .rv-recovery-panel {
        padding: 40px 24px;
    }

    .rv-password-state-form .rv-password-requirements {
        grid-template-columns: 1fr;
    }

    .rv-legal-hero {
        align-items: start;
        grid-template-columns: 1fr;
        padding: 34px 24px;
    }

    .rv-legal-hero .rv-brand {
        margin-bottom: 46px;
    }

    .rv-legal-seal {
        justify-self: stretch;
        min-height: 112px;
        min-width: 0;
        padding: 22px 24px;
        width: min(100%, 280px);
    }

    .rv-legal-copy {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rv-legal-copy p {
        font-size: 13px;
        padding-left: 34px;
    }

    .w-empty {
        min-height: 190px;
        padding: 28px 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .rv-recovery-orbit i:first-child {
        animation: rv-state-orbit 25s linear infinite;
    }

    .rv-state-signal {
        animation: rv-state-signal 2.4s ease-in-out infinite;
    }
}

@keyframes rv-state-orbit {
    to {
        transform: rotateX(67deg) rotateZ(340deg);
    }
}

@keyframes rv-state-signal {
    50% {
        box-shadow: 0 0 0 13px rgba(208, 108, 98, .02), 0 0 35px rgba(208, 108, 98, .6);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rv-legal-progress i,
    .rv-password-strength i {
        transition: none;
    }
}

@media (forced-colors: active) {
    .rv-state-signal,
    .rv-state-door::after,
    .rv-password-strength i,
    .rv-legal-progress i {
        forced-color-adjust: none;
    }
}
