
.rsa-page {
    --rsa-blue: #1c5cd6;
    --rsa-btn: #1c6fef;
    --rsa-text: #333;
    --rsa-line: #dbeefb;

    color: var(--rsa-text);
    background: #fff;
    font-family: var(--font-normal);
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}

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

.rsa-page :where(p, h1, h2, h3, h4) { margin: 0; }

.rsa-page h1,
.rsa-page h2,
.rsa-page h3,
.rsa-page h4 {
    color: var(--rsa-text);
    font-family: var(--font-bold);
    font-weight: 700;
}

.rsa-page img { display: block; max-width: 100%; }

.rsa-container { width: 1200px; margin: 0 auto; }

.rsa-section-title {
    font-size: 36px;
    line-height: 50px;
    text-align: center;
}

/* 首屏 banner：宽度始终 100vw，锁定 1920 × 634 设计比例，整段等比缩放 */
.rsa-hero {
    position: relative;
    overflow: hidden;
    background: #dce9fd;
    width: 100%;
    container-type: inline-size;
    min-height: calc(100vw * 634 / 1920);
    height: auto;
}

.rsa-hero > * {
    --cqw-length: 100cqw; /* 先按容器宽度解析成 px 再进 atan2，避免部分浏览器跨单位返回 0 */
    --hero-scale: tan(atan2(var(--cqw-length), 1920px)); /* hero 实际宽度 / 1920 */
    zoom: var(--hero-scale);
}

.rsa-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
}

.rsa-hero-inner {
    position: relative;
    width: 1080px;
    height: 100%;
    margin: 0 auto;
    padding-top: 117px;
}

.rsa-page .rsa-hero-title {
    color: #000;
    font-size: 62px;
    line-height: 76px;
}

.rsa-page .rsa-hero-desc {
    margin-top: 38px;
    font-size: 26px;
    line-height: 36px;
}

.rsa-hero-tags {
    display: flex;
    gap: 20px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.rsa-hero-tags li {
    display: flex;
    height: 47px;
    align-items: center;
    padding: 0 26px;
    font-size: 22px;
    line-height: 1;
    color: #333;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(28, 92, 214, .28);
    border-radius: 23px;
}

.rsa-btn {
    display: inline-flex;
    width: 212px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-top: 42px;
    color: #fff;
    font-family: var(--font-medium);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(90deg, #1c4ede 0%, #1f8ff7 100%);
    border-radius: 8px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.rsa-btn:hover {
    box-shadow: 0 10px 24px rgba(28, 78, 222, .28);
    transform: translateY(-1px);
}

.rsa-hint { display: none; }

.rsa-split {
    display: flex;
    margin-top: 46px;
}

.rsa-split-media {
    flex: 0 0 auto;
    margin: 0;
}

.rsa-split-media--what { width: 242px; margin-left: 164px; }

.rsa-split-media--what img { width: 242px; height: 245px; }

.rsa-split-media--ill { width: 336px; margin-left: 80px; margin-top: 9px; }

.rsa-split-media--ill img { width: 336px; height: 226px; }

.rsa-what { padding: 65px 0 133px; }

.rsa-consequence { padding: 0 0 91px; }

.rsa-consequence .rsa-split { margin-top: 66px; }

.rsa-consequence .rsa-cta { margin-top: 39px; }

.rsa-business { padding: 0 0 94px; }

.rsa-benefit { padding: 0 0 71px; }

.rsa-flow { padding: 0 0 76px; }

.rsa-advantage { padding: 0 0 105px; }

.rsa-split-copy {
    width: 616px;
    margin-left: 88px;
    margin-top: 5px;
    font-size: 19.3px;
    line-height: 32px;
}

.rsa-split-copy p + p { margin-top: 0; }

.rsa-cta {
    display: flex;
    height: 52px;
    align-items: stretch;
    margin: 60px auto 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #9cbdf8;
    border-radius: 13px;
}

.rsa-cta-text {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.rsa-cta-btn {
    display: flex;
    width: 206px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-medium);
    font-size: 23px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    background: var(--rsa-btn);
}

.rsa-consequence .rsa-cta,
.rsa-business .rsa-cta { margin-left: calc(50% - 271.5px + 14px); margin-right: 0; }

.rsa-business-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 73px;
}

.rsa-business-card {
    height: 244px;
    padding-top: 30px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--rsa-line);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.rsa-business-icon { width: 130px; height: 130px; margin: 0 auto; }

.rsa-page .rsa-business-label {
    margin-top: 22px;
    font-size: 25px;
    font-weight: 400;
    line-height: 32px;
    font-family: var(--font-normal);
}

.rsa-scene {
    padding: 89px 0 147px;
    background: #eff4fc url("../images/section-bg.png") center top / 100% 748px no-repeat;
}

.rsa-scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
    margin-top: 73px;
}

.rsa-scene-card {
    height: 462px;
    overflow: hidden;
    background: linear-gradient(-3deg, #FEFFFE, #ECF7FD);
    border: 1px solid #d6eafb;
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.rsa-page .rsa-scene-name {
    display: flex;
    height: 57px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    background: #1a5fd8;
}

.rsa-scene-text {
    padding: 14px 19px 0;
    font-size: 20px;
    line-height: 32px;
}

.rsa-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
    margin-top: 71px;
}

.rsa-benefit-card {
    height: 322px;
    padding: 0px 28px 0;
    text-align: left;
    background: #fff;
    border: 1px solid var(--rsa-line);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.rsa-benefit-icon { width: 146px; height: 146px; margin: 0 auto; }

.rsa-page .rsa-benefit-name {
    margin-top: -18px;
    font-size: 26px;
    line-height: 38px;
    text-align: center;
}

.rsa-benefit-text {
    margin-top: 6px;
    font-size: 20px;
    line-height: 30px;
}

.rsa-flow-panel {
    margin-top: 64px;
    padding: 8px;
}

.rsa-flow-grid {
    display: grid;
    grid-template-columns: repeat(2, 493px);
    gap: 36px;
    justify-content: center;
}

.rsa-flow-card {
    height: 260px;
    width: 493px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d6eafb;
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.rsa-page .rsa-flow-name {
    display: flex;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    background: #1a5fd8;
}

.rsa-flow-body {
    padding: 12px 30px 20px;
    font-size: 19.5px;
    line-height: 30px;
}

.rsa-flow-body p { margin: 0; }

.rsa-advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 72px;
}

.rsa-advantage-card {
    height: 257px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d6eafb;
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.rsa-page .rsa-advantage-name {
    display: flex;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    background: #1a5fd8;
}

.rsa-advantage-body {
    position: relative;
    height: 197px;
    padding: 16px 22px 0;
}

.rsa-advantage-text {
    position: relative;
    z-index: 2;
    font-size: 19px;
    line-height: 24px;
}

.rsa-advantage-no {
    position: absolute;
    bottom: 23px;
    left: 32px;
    color: #0659D5;
    font-family: var(--font-bold);
    font-size: 59px;
    font-weight: 700;
    line-height: 1;
    font-style: italic;
    opacity: 0.1;
}

.rsa-advantage-icon {
    position: absolute;
    right: 22px;
    bottom: 10px;
    width: 86px;
    height: 86px;
}

.rsa-hotline {
    display: flex;
    height: 52px;
    align-items: stretch;
    margin: 59px auto 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #9cbdf8;
    border-radius: 13px;
}

.rsa-hotline-label {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.rsa-hotline-label b {
    margin-left: 2px;
    font-family: var(--font-bold);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.rsa-hotline-btn {
    display: flex;
    width: 206px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-medium);
    font-size: 23px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    background: var(--rsa-btn);
}

@media (max-width: 1248px) {
    .rsa-container { width: auto; max-width: calc(100% - 48px); }

    .rsa-split-media--what { margin-left: 0; }

    .rsa-split-media--ill { margin-left: 0; }

    .rsa-split-copy { width: auto; flex: 1; margin-left: 40px; }

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

    .rsa-consequence .rsa-cta,
    .rsa-business .rsa-cta { margin-left: auto; margin-right: auto; }
}

@media (max-width: 1100px) {
    .rsa-page { font-size: 16px; }

    .rsa-section-title { font-size: 32px; line-height: 46px; }

    .rsa-split { margin-top: 38px; }

    .rsa-split-media--what { width: 200px; }

    .rsa-split-media--what img { width: 200px; height: auto; }

    .rsa-split-media--ill { width: 280px; }

    .rsa-split-media--ill img { width: 280px; height: auto; }

    .rsa-split-copy { margin-left: 30px; font-size: 17px; line-height: 30px; }

    .rsa-cta,
    .rsa-hotline { margin-top: 46px; }

    .rsa-cta-text { font-size: 17px; }

    .rsa-cta-btn,
    .rsa-hotline-btn { width: 170px; font-size: 20px; }

    .rsa-hotline-label { font-size: 16px; }

    .rsa-hotline-label b { font-size: 21px; }

    .rsa-business-grid { margin-top: 50px; }

    .rsa-business-card { height: auto; padding: 26px 12px; }

    .rsa-business-icon { width: 100px; height: 100px; }

    .rsa-page .rsa-business-label { font-size: 20px; }

    .rsa-scene { padding: 64px 0 70px; }

    .rsa-scene-grid { margin-top: 50px; }

    .rsa-scene-card { height: auto; }

    .rsa-page .rsa-scene-name { height: 50px; font-size: 20px; }

    .rsa-scene-text { font-size: 16px; line-height: 30px; }

    .rsa-benefit-grid { margin-top: 50px; }

    .rsa-benefit-card { height: auto; padding: 24px 20px; }

    .rsa-benefit-icon { width: 86px; height: 86px; }

    .rsa-page .rsa-benefit-name { font-size: 22px; line-height: 32px; }

    .rsa-benefit-text { font-size: 16px; line-height: 28px; }

    .rsa-flow-panel { margin-top: 44px; }

    .rsa-page .rsa-flow-name { height: 50px; font-size: 24px; }

    .rsa-flow-body { padding: 12px 20px 18px; font-size: 16px; line-height: 30px; }

    .rsa-advantage-grid { margin-top: 50px; }

    .rsa-advantage-card { height: 230px; }

    .rsa-page .rsa-advantage-name { height: 52px; font-size: 22px; }

    .rsa-advantage-body { height: 176px; padding: 14px 16px 0; }

    .rsa-advantage-text { font-size: 15px; line-height: 24px; }

    .rsa-advantage-no { left: 16px; font-size: 36px; }

    .rsa-advantage-icon { right: 16px; width: 72px; height: 72px; }
}

@media (max-width: 980px) {
    .rsa-split { flex-direction: column; }

    .rsa-split-media--what,
    .rsa-split-media--ill { margin: 0 auto; }

    .rsa-split-copy { margin: 24px 0 0; }

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

    .rsa-scene-grid { grid-template-columns: 1fr; }

    .rsa-benefit-grid { grid-template-columns: 1fr; }

    .rsa-flow-grid { grid-template-columns: 1fr; }

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

@media (max-width: 760px) {
    .rsa-section-title { font-size: 24px; line-height: 36px; }

    .rsa-split-media--what img { width: 160px; }

    .rsa-split-media--ill { width: 100%; max-width: 280px; }

    .rsa-split-media--ill img { width: 100%; }

    .rsa-split-copy { font-size: 15px; line-height: 28px; }

    .rsa-cta,
    .rsa-hotline { width: 100% !important; max-width: 420px; height: 46px; margin-top: 34px; }

    .rsa-cta-text { font-size: 14px; }

    .rsa-cta-btn,
    .rsa-hotline-btn { width: 120px; font-size: 16px; }

    .rsa-hotline-label { font-size: 13px; }

    .rsa-hotline-label b { font-size: 18px; }

    .rsa-business-grid { grid-template-columns: 1fr; gap: 14px; }

    .rsa-business-card { padding: 20px 12px; }

    .rsa-scene { padding: 44px 0 48px; }

    .rsa-page .rsa-scene-name { height: 46px; font-size: 18px; }

    .rsa-scene-text { font-size: 15px; line-height: 28px; }

    .rsa-benefit-card { padding: 20px 16px; }

    .rsa-page .rsa-benefit-name { font-size: 20px; }

    .rsa-benefit-text { font-size: 15px; line-height: 26px; }

    .rsa-page .rsa-flow-name { height: 46px; font-size: 20px; }

    .rsa-flow-body { font-size: 15px; line-height: 28px; }

    .rsa-advantage-grid { grid-template-columns: 1fr; gap: 14px; }

    .rsa-advantage-card { height: auto; }

    .rsa-page .rsa-advantage-name { height: 46px; font-size: 20px; }

    .rsa-advantage-body { height: auto; min-height: 160px; padding: 14px 16px 16px; }

    .rsa-advantage-text { font-size: 14px; }

    .rsa-advantage-icon { width: 64px; height: 64px; }
}

@media (max-width: 600px) {
    .rsa-container { max-width: calc(100% - 32px); }

    .rsa-section-title { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    .rsa-btn { transition: none; }
}

/* 桌面/平板：首屏文案比例系数 = max(--hero-typo 断点档位, 首屏缩放比)。
   视口 ≤ 1920 时取断点档位（小屏字号比设计值略大，避免字太小）；
   > 1920（宽屏 / 浏览器缩小页面）时跟着首屏等比放大，滚轮缩放时比例保持不变。 */
@media (min-width: 1024px) {
    .rsa-page .rsa-hero-title {
        font-size: calc(62px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(76px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .rsa-page .rsa-hero-desc {
        font-size: calc(26px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(36px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .rsa-hero-tags li {
        font-size: calc(22px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }
}
