/* Three isolated Static Proxy regions; Figma measurements are in the audit map.
   Light palette is an explicit site adaptation; dark palette follows the source. */
.sp-region {
  --sp-canvas: #f7f8fb;
  --sp-surface: #fff;
  --sp-frame: #e7eaf0;
  --sp-line: #dce1e9;
  --sp-title: #171b2a;
  --sp-copy: #5d6679;
  --sp-muted: #667287;
  --sp-rule: #727f94;
  --sp-inset: #f5f7fb;
  --sp-inset-top: #fafbfe;
  --sp-label: #e0e6ef;
  --sp-code-key: #6741c7;
  --sp-code-value: #006b9b;
  --sp-code-bool: #a33283;
  --sp-green: #078358;
  --sp-terminal-head: #e0e6ef;
  --dark-text: var(--sp-title);
  --dark-text-secondary: var(--sp-copy);
  background: var(--sp-canvas);
  color: var(--sp-title);
  padding: 107px 24px;
}
[data-theme="dark"] .sp-region {
  --sp-canvas: #10141c;
  --sp-surface: #12161d;
  --sp-frame: #22262e;
  --sp-line: #353546;
  --sp-title: #fff;
  --sp-copy: #8b87a6;
  --sp-muted: #959eb0;
  --sp-rule: #c8ced7;
  --sp-inset: #12161d;
  --sp-inset-top: #171b25;
  --sp-label: #4b5263;
  --sp-code-key: #a58aff;
  --sp-code-value: #50beff;
  --sp-code-bool: #ff85ef;
  --sp-green: #11c083;
  --sp-terminal-head: #20252e;
}
.sp-region *, .sp-region *::before, .sp-region *::after { box-sizing: border-box; }
.sp-region :is(h2,h3,p,pre,ol) { margin: 0; }
.sp-region h2 { color: var(--sp-title); font-size: 48px; line-height: 1.1875; font-weight: 700; letter-spacing: 0; }
.sp-region h3 { color: var(--sp-title); font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: 0; }
.sp-region p { color: var(--sp-copy); font-size: 14px; font-weight: 500; line-height: 1.4; }
.sp-container { width: 100%; max-width: 1280px; margin-inline: auto; }
.sp-heading { text-align: center; margin: 0 auto 40px; }
.sp-heading h2 { max-width: 701px; margin: 30px auto; }
.sp-heading p { max-width: 1000px; margin-inline: auto; font-size: 16px; }
.sp-kicker { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 20px; border: 1px solid var(--sp-muted); border-radius: 999px; font-size: 13px; line-height: 18px; }
.sp-frame { border: 10px solid var(--sp-frame); border-radius: 20px; background: var(--sp-surface); background-clip: padding-box; }
.sp-art { display: block; flex: none; object-fit: contain; background: transparent; }
.sp-highlights { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-bottom: 20px; }
.sp-feature { min-height: 484px; padding: 30px 20px 40px; }
.sp-feature-art { width: 100%; height: 200px; display: grid; place-items: center; margin-bottom: 28px; }
.sp-feature-art img { max-width: 100%; }
.sp-feature h3::after { content: ''; display: block; width: 50px; height: 2px; margin: 30px 0; background: linear-gradient(90deg,var(--sp-rule),var(--sp-muted)); }
.sp-global { display: grid; grid-template-columns: 250px 400px minmax(0,1fr); align-items: center; column-gap: 16px; min-height: 432px; padding: 40px; }
.sp-global-copy { align-self: start; padding-top: 10px; }
.sp-global-copy > span { display: block; color: var(--sp-copy); font-size: 14px; margin-bottom: 10px; }
.sp-global-copy h3 { max-width: 235px; }
.sp-global-copy > i { display: block; width: 50px; height: 2px; margin: 30px 0; background: #de9f67; }
.sp-map { width: 400px; height: 242.032px; max-width: 100%; }
.sp-global-list { display: grid; gap: 30px; border-left: 1px solid var(--sp-line); padding: 10px 0 10px 39px; }
.sp-global-list article { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 30px; }
.sp-global-list h3 { font-size: 16px; margin-bottom: 14px; }
.sp-global-list p { font-size: 12px; }
.sp-operation { padding-block: 80px; }
.sp-operation-board { display: grid; grid-template-columns: minmax(0,1fr) 424px; grid-template-rows: auto 247px; column-gap: 40px; row-gap: 80px; padding: 50px; min-height: 710px; }
.sp-operation-copy { grid-column: 1; grid-row: 1; }
.sp-operation .sp-heading { margin: 0; text-align: left; }
.sp-operation h2 { max-width: 577px; margin: 30px 0; }
.sp-operation .sp-heading p { max-width: 577px; margin-inline: 0; }
.sp-steps { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 0; }
.sp-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 6px 26px; min-width: 0; }
.sp-steps li + li { border-left: 1px solid var(--sp-line); }
.sp-step-number { color: var(--sp-title); font-size: 24px; font-weight: 600; line-height: 29px; }
.sp-step-rule { width: 26px; height: 2px; background: var(--sp-rule); margin: 20px 0 30px; }
.sp-step-art { display: grid; place-items: center; height: 34px; width: 44px; margin-bottom: 40px; }
.sp-steps b { font-size: 16px; font-weight: 500; line-height: 22px; }
.sp-steps small { color: var(--sp-copy); font-size: 12px; line-height: 17px; margin-top: 8px; }
.sp-terminal { grid-column: 2; grid-row: 1 / 3; min-height: 590px; align-self: stretch; border: 1px solid var(--sp-line); border-radius: 12px; background: var(--sp-inset); overflow: hidden; }
.sp-terminal-head { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; background: var(--sp-terminal-head); }
.sp-terminal-head b { font-size: 13px; color: var(--sp-green); }
.sp-terminal pre { padding: 44px 20px; font-size: 14px; line-height: 28px; white-space: pre-wrap; }
.sp-terminal code { color: var(--sp-title); font-size: inherit; line-height: inherit; }
/* fonts.css forces inline tags to Inter; keep the whole code example monospace. */
.sp-terminal code, .sp-terminal code * { font-family: Consolas, "Courier New", monospace !important; }
.sp-terminal code span { color: var(--sp-code-key); }
.sp-terminal code em { color: var(--sp-code-value); font-style: normal; }
.sp-terminal code b { color: var(--sp-code-bool); font-weight: 500; }
.sp-terminal code strong { color: var(--sp-green); font-weight: 500; }
.sp-terminal .sp-config { min-height: 278px; }
.sp-terminal .sp-status { border-top: 1px solid var(--sp-line); padding-top: 52px; }
.sp-usecases .sp-heading h2 { margin-bottom: 0; }
.sp-case-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px; }
.sp-case { position: relative; grid-column: span 2; min-height: 538px; padding: 50px 20px 20px; }
.sp-case-index { display: block; color: var(--sp-muted); font-size: 20px; line-height: 24px; font-weight: 700; margin-bottom: 30px; }
.sp-case-copy { width: 178px; }
.sp-case-copy h3 { margin-bottom: 30px; }
.sp-case-2 .sp-case-copy p { width: 135px; }
.sp-case-3 .sp-case-copy { width: 168px; }
.sp-social-art { position: absolute; right: 20px; top: 78px; width: 143.664px; height: 206.738px; }
.sp-store-art { position: absolute; right: 20px; top: 149px; width: 164.054px; height: 314px; }
.sp-brand-art { position: absolute; right: 20px; top: 149px; width: 161px; height: 301.721px; }
.sp-inset { border: 1px solid var(--sp-line); border-radius: 12px; background: linear-gradient(0deg,var(--sp-inset),var(--sp-inset-top)); }
.sp-ip-panel { position: absolute; bottom: 20px; left: 20px; right: 20px; height: 182px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 28px 24px 58px; row-gap: 16px; padding: 16px 19px 20px; }
.sp-ip-label { display: grid; place-items: center; width: 54px; height: 28px; border-radius: 8px; background: var(--sp-label); color: var(--sp-title); font-size: 14px; line-height: 20px; }
.sp-address { grid-column: 1; color: var(--sp-title); font-size: 20px; line-height: 24px; white-space: nowrap; }
.sp-online { display: flex; align-items: center; gap: 10px; color: var(--sp-copy); font-size: 14px; line-height: 22px; }
.sp-ip-panel .sp-online { grid-column: 2; grid-row: 2; }
.sp-social-icons { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.sp-social-icons > span { display: grid; place-items: center; height: 58px; border: 1px solid var(--sp-line); border-radius: 12px; }
.sp-case:nth-child(n+4) { grid-column: span 3; min-height: 392px; padding: 48px 20px; }
.sp-case:nth-child(n+4) .sp-case-copy { width: 200px; }
.sp-chart, .sp-continuity-panel { position: absolute; right: 20px; top: 102px; width: 330px; height: 193px; }
.sp-continuity-panel { padding: 20px; }
.sp-continuity-panel .sp-address { display: block; margin-top: 16px; }
.sp-continuity-panel .sp-online { margin-top: 20px; }
.sp-continuity-panel > small { display: block; color: var(--sp-copy); font-size: 14px; margin-top: 22px; }
.sp-ring { position: absolute; width: 102px; height: 102px; right: 29px; top: 30px; }
.sp-ring img { position: absolute; left: 0; top: 0; }
.sp-ring .sp-ring-arc { left: 51px; }
@media (min-width: 1328px) {
  .sp-operation .sp-steps { width: 764px; margin-left: -44px; }
}
@media (max-width: 1327px) {
  .sp-global { grid-template-columns: minmax(180px,.8fr) minmax(240px,1fr) minmax(300px,1.1fr); padding: 30px; }
  .sp-global-list { padding-left: 20px; }
  .sp-global-list article { gap: 16px; }
  .sp-operation-board { grid-template-columns: minmax(0,1fr) 360px; column-gap: 28px; padding: 36px; }
  .sp-operation h2 { font-size: 42px; }
  .sp-case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sp-case:nth-child(n) { grid-column: auto; }
  .sp-case:nth-child(n+4) { min-height: 530px; }
  .sp-case:nth-child(n+4) .sp-case-copy { width: 100%; }
  .sp-chart, .sp-continuity-panel { top: auto; bottom: 28px; right: 20px; max-width: calc(100% - 40px); }
}
@media (max-width: 979px) {
  .sp-highlights { grid-template-columns: 1fr; }
  .sp-feature { display: grid; grid-template-columns: 340px minmax(0,1fr); column-gap: 24px; min-height: 280px; padding: 24px; }
  .sp-feature-art { grid-row: 1 / 3; margin: 0; }
  .sp-feature h3 { align-self: end; }
  .sp-feature h3::after { margin: 20px 0; }
  .sp-global { grid-template-columns: 1fr 1.3fr; gap: 28px; }
  .sp-global-list { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--sp-line); padding: 28px 0 0; }
  .sp-operation-board { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 40px; }
  .sp-operation .sp-heading h2, .sp-operation .sp-heading p { max-width: 100%; }
  .sp-terminal { grid-column: 1; grid-row: 3; min-height: 540px; }
  .sp-case-grid { grid-template-columns: 1fr; }
  .sp-case { width: 100%; max-width: 630px; margin-inline: auto; }
  .sp-case-copy { width: calc(100% - 185px); }
  .sp-case-2 .sp-case-copy p { width: 100%; }
  .sp-case-3 .sp-case-copy { width: calc(100% - 185px); }
  .sp-case:nth-child(n+4) { min-height: 392px; }
  .sp-case:nth-child(n+4) .sp-case-copy { width: calc(100% - 355px); }
}
@media (max-width: 619px) {
  .sp-region { padding: 64px 16px; }
  .sp-region h2 { font-size: 34px; line-height: 1.18; }
  .sp-heading h2 { margin-block: 24px; }
  .sp-heading p { font-size: 15px; line-height: 1.55; }
  .sp-frame { border-width: 8px; }
  .sp-feature { display: block; min-height: 0; padding: 24px 20px 28px; }
  .sp-feature-art { height: 180px; margin-bottom: 24px; }
  .sp-feature-art img:not([data-sp-art="greater-stability"]) { width: 100%; height: 180px; }
  .sp-feature h3::after { margin-block: 24px; }
  .sp-global { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
  .sp-global-copy { padding-top: 0; }
  .sp-map { width: 100%; height: auto; aspect-ratio: 400 / 242.032; }
  .sp-global-list { grid-column: auto; }
  .sp-operation { padding-block: 32px; }
  .sp-operation-board { padding: 28px 16px; gap: 32px; }
  .sp-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sp-steps li { padding: 22px 5px; }
  .sp-steps li:nth-child(3) { border-left: 0; }
  .sp-steps li:nth-child(n+3) { border-top: 1px solid var(--sp-line); }
  .sp-step-rule { margin: 16px 0 22px; }
  .sp-step-art { margin-bottom: 22px; }
  .sp-steps small { max-width: 125px; }
  .sp-terminal { min-height: 0; }
  .sp-terminal-head { height: 64px; padding: 14px; gap: 8px; }
  .sp-terminal-head b { font-size: 11px; }
  .sp-terminal pre { padding: 28px 14px; font-size: 12px; line-height: 26px; }
  .sp-terminal .sp-config { min-height: 0; }
  .sp-terminal .sp-status { padding-top: 28px; }
  .sp-case:nth-child(n) { display: flex; flex-direction: column; min-height: 0; padding: 28px 20px; }
  .sp-case-index { margin-bottom: 24px; }
  .sp-case:nth-child(n) .sp-case-copy { width: 100%; }
  .sp-case-copy h3 { margin-bottom: 20px; }
  .sp-case-copy p { font-size: 14px; line-height: 1.55; }
  .sp-social-art, .sp-store-art, .sp-brand-art { position: static; align-self: center; margin: 28px 0; }
  .sp-store-art, .sp-brand-art { margin-bottom: 0; }
  .sp-ip-panel { position: relative; inset: auto; width: 100%; height: auto; min-height: 182px; padding: 16px 12px; column-gap: 8px; }
  .sp-ip-panel .sp-online { gap: 4px; font-size: 12px; }
  .sp-address { font-size: 18px; }
  .sp-chart, .sp-continuity-panel { position: relative; inset: auto; width: 100%; max-width: 330px; align-self: center; margin-top: 28px; }
  .sp-chart { height: auto; aspect-ratio: 330 / 193; }
  .sp-continuity-panel { padding: 16px; }
  .sp-ring { right: 16px; width: 82px; height: 82px; }
  .sp-ring img { width: 82px; height: 82px; }
  .sp-ring .sp-ring-arc { left: 41px; width: 41px; height: 76.507px; }
}
