:root { color-scheme: light; font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: #26384c; background: #f3f7fb; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; overflow-x: hidden; }
body { background: #f3f7fb; overflow-wrap: anywhere; }
a { color: inherit; }
.agreement-header { min-height: calc(64px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) max(18px, calc((100vw - 900px) / 2)) 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #e0e8f0; background: rgb(255 255 255 / 96%); }
.agreement-back { justify-self: start; color: #347dcc; font-size: 14px; font-weight: 650; text-decoration: none; }
.agreement-brand { grid-column: 2; display: inline-flex; }
.agreement-brand img { display: block; width: 132px; max-width: 100%; height: auto; }
.agreement-shell { width: min(100%, 900px); margin: auto; padding: 28px 20px max(40px, env(safe-area-inset-bottom)); }
.agreement-card { padding: clamp(24px, 5vw, 54px); border: 1px solid #dce5ef; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgb(47 82 113 / 7%); }
.agreement-card h1 { margin: 0 0 32px; color: #26384c; text-align: center; font-size: clamp(26px, 5vw, 36px); line-height: 1.35; }
.agreement-card h2 { margin: 34px 0 14px; padding-left: 11px; border-left: 4px solid #4a90e2; color: #347dcc; font-size: 20px; line-height: 1.5; }
.agreement-card h3 { margin: 24px 0 10px; color: #354a59; font-size: 17px; line-height: 1.55; }
.agreement-card p { margin: 0 0 12px; color: #536b7b; font-size: 15px; line-height: 1.9; }
.agreement-card .agreement-indent { padding-left: 18px; }
.agreement-card .agreement-callout { margin: 22px 0; padding: 16px 18px; border: 1px solid #c9def5; border-radius: 12px; background: #f2f8ff; color: #405e73; }
.agreement-return { width: min(100%, 260px); min-height: 48px; margin: 24px auto 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #4a90e2; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgb(74 144 226 / 20%); }
@media (max-width: 480px) {
  .agreement-header { padding-inline: 14px; }
  .agreement-brand img { width: 112px; }
  .agreement-back { font-size: 12px; }
  .agreement-shell { padding: 14px 11px max(28px, env(safe-area-inset-bottom)); }
  .agreement-card { padding: 22px 16px; border-radius: 14px; }
  .agreement-card h1 { margin-bottom: 24px; }
  .agreement-card h2 { margin-top: 28px; font-size: 18px; }
  .agreement-card h3 { font-size: 16px; }
  .agreement-card p { font-size: 14px; line-height: 1.85; }
  .agreement-card .agreement-indent { padding-left: 11px; }
}
