:root {
  --spo-ink: #102537;
  --spo-muted: #647688;
  --spo-blue: #096b85;
  --spo-cyan: #13a2a8;
  --spo-lime: #8ccf72;
  --spo-orange: #f07b45;
  --spo-paper: #f2f7f8;
  --spo-line: #d7e3e7;
  --spo-night: #061d2b;
  --spo-white: #fff;
  --spo-shell: min(1180px, calc(100% - 48px));
  --spo-shadow: 0 24px 70px rgba(5, 42, 58, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.spo-page { margin: 0; color: var(--spo-ink); background: #fff; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
body.spo-page main { overflow: clip; }
.spo-shell { width: var(--spo-shell); margin-inline: auto; }
.spo-page main h1,
.spo-page main h2,
.spo-page main h3 { width: 100%; max-width: none; min-width: 0; margin-top: 0; white-space: nowrap; overflow: visible; text-overflow: clip; letter-spacing: -.035em; }
.spo-page p { line-height: 1.78; }
.spo-page a { color: inherit; }
.spo-overline,
.spo-kicker { margin: 0 0 12px; color: var(--spo-cyan); font-size: 12px; line-height: 1.2; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }

/* Desktop hero is a true full-bleed background. Top alignment protects complete faces in the source safe area. */
.spo-hero { position: relative; height: clamp(650px, 36vw, 760px); min-height: 650px; overflow: hidden; isolation: isolate; color: #fff; background: var(--spo-night); }
.spo-hero::after { position: absolute; inset: 0; z-index: 1; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(4, 25, 37, .97) 0%, rgba(4, 27, 40, .91) 31%, rgba(4, 27, 40, .48) 55%, rgba(4, 27, 40, .08) 82%), linear-gradient(0deg, rgba(3, 22, 32, .38), transparent 45%); }
.spo-hero__media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: hidden; }
.spo-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.spo-hero__inner { position: relative; z-index: 2; display: flex; align-items: center; height: 100%; }
.spo-hero__copy { width: min(650px, 58%); padding: 58px 0 48px; }
.spo-hero h1 { margin-bottom: 18px; font-size: clamp(42px, 4.3vw, 68px); line-height: 1.04; }
.spo-hero__claim { max-width: 620px; margin: 0 0 15px; font-size: clamp(21px, 2vw, 30px); line-height: 1.3; font-weight: 780; }
.spo-hero__lead { max-width: 610px; margin: 0; color: rgba(255,255,255,.78); font-size: 15px; }
.spo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.spo-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid rgba(255,255,255,.26); border-radius: 9px; font-weight: 760; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.spo-button:hover { transform: translateY(-2px); }
.spo-button--primary { border-color: var(--spo-orange); color: #fff; background: var(--spo-orange); box-shadow: 0 12px 28px rgba(240,123,69,.24); }
.spo-button--ghost { background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.spo-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.spo-proof li { min-width: 0; padding-right: 18px; }
.spo-proof li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); }
.spo-proof strong, .spo-proof span { display: block; }
.spo-proof strong { font-size: 16px; }
.spo-proof span { margin-top: 6px; color: rgba(255,255,255,.59); font-size: 12px; line-height: 1.55; }

.spo-anchor { position: sticky; top: var(--header-height, 0); z-index: 60; display: none; border-bottom: 1px solid #e0e8eb; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
body.xb-shell-embedded .spo-anchor { top: 0; display: block; }
.spo-anchor__scroll { display: flex; justify-content: center; gap: 27px; overflow-x: auto; scrollbar-width: none; }
.spo-anchor__scroll::-webkit-scrollbar { display: none; }
.spo-anchor a { position: relative; flex: 0 0 auto; padding: 15px 0 13px; color: var(--spo-muted); font-size: 13px; font-weight: 720; text-decoration: none; }
.spo-anchor a::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: var(--spo-orange); transform: scaleX(0); transition: transform .2s ease; }
.spo-anchor a:hover, .spo-anchor a.is-active { color: var(--spo-ink); }
.spo-anchor a.is-active::after { transform: scaleX(1); }

.spo-section { position: relative; padding: 88px 0; }
.spo-section--paper { background: var(--spo-paper); }
.spo-section--night { color: #fff; background: var(--spo-night); }
.spo-section--night .spo-heading > p,
.spo-section--night .spo-copy { color: rgba(255,255,255,.66); }
.spo-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 64px; margin-bottom: 40px; }
.spo-heading h2 { margin-bottom: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.15; }
.spo-heading > p { margin: 0; color: var(--spo-muted); font-size: 14px; }

.spo-role-field { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--spo-line); border-bottom: 1px solid var(--spo-line); }
.spo-role-field article { grid-column: span 2; min-width: 0; padding: 27px 20px 25px; border-left: 1px solid var(--spo-line); }
.spo-role-field article:first-child { padding-left: 0; border-left: 0; }
.spo-role-field article:nth-child(4), .spo-role-field article:nth-child(5) { grid-column: span 3; border-top: 1px solid var(--spo-line); }
.spo-role-field article:nth-child(4) { padding-left: 0; border-left: 0; }
.spo-role-field span { color: var(--spo-blue); font-size: 11px; font-weight: 820; }
.spo-role-field h3 { margin: 10px 0 7px; font-size: 18px; line-height: 1.25; }
.spo-role-field p { margin: 0; color: var(--spo-muted); font-size: 13px; }
.spo-pain-rail { display: grid; grid-template-columns: 1.5fr .9fr .9fr; gap: 1px; margin-top: 28px; background: var(--spo-line); }
.spo-pain-rail article { padding: 25px; background: #fff; }
.spo-pain-rail strong { display: block; font-size: 18px; }
.spo-pain-rail p { margin: 8px 0 0; color: var(--spo-muted); font-size: 13px; }

.spo-wide-scene, .spo-scene { position: relative; margin: 0; overflow: hidden; background: #dbe7ea; box-shadow: var(--spo-shadow); }
.spo-wide-scene { border-radius: 18px; }
.spo-scene { border-radius: 16px; }
.spo-wide-scene img, .spo-scene img { display: block; width: 100%; height: auto; }
.spo-wide-scene figcaption, .spo-scene figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; color: #fff; background: linear-gradient(0deg, rgba(3,27,38,.92), rgba(3,27,38,.06)); }
.spo-wide-scene figcaption strong, .spo-wide-scene figcaption span, .spo-scene figcaption strong, .spo-scene figcaption span { align-self: end; font-size: 12px; }
.spo-wide-scene figcaption span, .spo-scene figcaption span { color: rgba(255,255,255,.72); }

.spo-workflow { display: grid; grid-template-columns: repeat(4, 1fr); margin: 31px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.19); border-bottom: 1px solid rgba(255,255,255,.19); list-style: none; }
.spo-workflow li { min-width: 0; padding: 23px 19px; border-left: 1px solid rgba(255,255,255,.14); }
.spo-workflow li:nth-child(4n+1) { border-left: 0; }
.spo-workflow li:nth-child(n+5) { border-top: 1px solid rgba(255,255,255,.14); }
.spo-workflow span { color: #69d8dc; font-size: 10px; font-weight: 820; letter-spacing: .08em; }
.spo-workflow h3 { margin: 9px 0 7px; font-size: 17px; }
.spo-workflow p { margin: 0; color: rgba(255,255,255,.6); font-size: 12px; }

.spo-story { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: center; gap: 64px; }
.spo-story--reverse { grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr); }
.spo-story--reverse > :first-child { order: 2; transform: translateY(22px); }
.spo-story--reverse > :last-child { order: 1; }
.spo-story__copy h2 { margin-bottom: 17px; font-size: clamp(27px, 2.45vw, 38px); }
.spo-story__copy > p { color: var(--spo-muted); }
.spo-feature-lines { margin-top: 24px; border-top: 1px solid var(--spo-line); }
.spo-feature-lines article { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--spo-line); }
.spo-feature-lines span { padding-top: 3px; color: var(--spo-orange); font-size: 11px; font-weight: 820; }
.spo-feature-lines h3 { margin: 0 0 5px; font-size: 17px; }
.spo-feature-lines p { margin: 0; color: var(--spo-muted); font-size: 12px; }

.spo-switches { display: inline-flex; max-width: 100%; margin: 15px 0 14px; padding: 4px; gap: 4px; border: 1px solid var(--spo-line); border-radius: 10px; background: #fff; overflow-x: auto; }
.spo-switches button { flex: 0 0 auto; min-height: 37px; padding: 0 14px; border: 0; border-radius: 7px; color: var(--spo-muted); background: transparent; font: inherit; font-size: 12px; font-weight: 760; cursor: pointer; }
.spo-switches button:hover, .spo-switches button.is-active { color: #fff; background: var(--spo-blue); }
.spo-output { min-height: 82px; margin: 0; padding: 16px 18px; border-left: 3px solid var(--spo-orange); color: var(--spo-ink); background: #eaf4f5; font-size: 13px; }
.spo-section--night .spo-switches { border-color: rgba(255,255,255,.17); background: rgba(255,255,255,.07); }
.spo-section--night .spo-switches button { color: rgba(255,255,255,.7); }
.spo-section--night .spo-switches button.is-active { color: #061d2b; background: #69d8dc; }
.spo-section--night .spo-output { color: #fff; background: rgba(255,255,255,.07); }

.spo-metric-band { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--spo-line); border-bottom: 1px solid var(--spo-line); }
.spo-metric-band article { padding: 23px 20px; border-left: 1px solid var(--spo-line); }
.spo-metric-band article:first-child { padding-left: 0; border-left: 0; }
.spo-metric-band strong, .spo-metric-band span { display: block; }
.spo-metric-band strong { font-size: 17px; }
.spo-metric-band span { margin-top: 7px; color: var(--spo-muted); font-size: 12px; line-height: 1.62; }

.spo-twin { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.spo-twin .spo-scene:first-child { transform: translateY(24px); }
.spo-service-intro { display: flex; flex-direction: column; justify-content: center; min-height: 100%; padding: 36px; color: #fff; background: linear-gradient(145deg, #082b3a, #096b78); box-shadow: var(--spo-shadow); }
.spo-service-intro h2 { margin-bottom: 14px; font-size: clamp(27px, 2.45vw, 38px); }
.spo-service-intro > p:not(.spo-kicker) { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.spo-service-intro .spo-feature-lines { border-color: rgba(255,255,255,.18); }
.spo-service-intro .spo-feature-lines article { border-color: rgba(255,255,255,.16); }
.spo-service-intro .spo-feature-lines strong { display: block; margin-bottom: 5px; font-size: 17px; }
.spo-service-intro .spo-feature-lines p { color: rgba(255,255,255,.64); }
.spo-service-ui { padding: 27px; border: 1px solid var(--spo-line); border-radius: 16px; background: #fff; box-shadow: var(--spo-shadow); }
.spo-service-ui__head { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-bottom: 19px; border-bottom: 1px solid var(--spo-line); }
.spo-service-ui__head span, .spo-service-ui__head strong { display: block; }
.spo-service-ui__head span { color: var(--spo-blue); font-size: 12px; font-weight: 820; letter-spacing: .06em; }
.spo-service-ui__head strong { margin-top: 7px; font-size: 17px; }
.spo-service-ui__head b { padding: 7px 10px; border-radius: 999px; color: #9a4d20; background: #fff0e6; font-size: 12px; }
.spo-service-ui__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 21px 0; background: var(--spo-line); }
.spo-service-ui__stats article { padding: 15px 12px; background: #f6fafb; }
.spo-service-ui__stats span, .spo-service-ui__stats strong, .spo-service-ui__stats small { display: block; }
.spo-service-ui__stats span { color: var(--spo-muted); font-size: 12px; }
.spo-service-ui__stats strong { margin-top: 6px; font-size: 17px; }
.spo-service-ui__stats small { margin-top: 4px; color: #708087; font-size: 12px; }
.spo-service-ui__rows { border-top: 1px solid var(--spo-line); }
.spo-service-ui__rows > div { display: grid; grid-template-columns: 1fr auto 82px; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--spo-line); font-size: 13px; }
.spo-service-ui__rows i { color: var(--spo-blue); font-style: normal; text-align: right; }
.spo-service-ui__rows i.is-warn { color: var(--spo-orange); }
.spo-service-ui > p { margin: 17px 0 0; color: var(--spo-muted); font-size: 13px; }
.spo-twin-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 62px; }
.spo-twin-copy h3, .spo-twin-copy strong { display: block; margin: 0 0 9px; font-size: 21px; }
.spo-twin-copy p { margin: 0; color: var(--spo-muted); font-size: 13px; }

.spo-console-rails { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.spo-console-rails article { min-width: 0; padding: 23px 19px; border-left: 1px solid rgba(255,255,255,.14); }
.spo-console-rails article:first-child { border-left: 0; }
.spo-console-rails strong, .spo-console-rails span { display: block; }
.spo-console-rails span { margin-top: 8px; color: rgba(255,255,255,.57); font-size: 12px; line-height: 1.65; }

.spo-scenario-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 44px; align-items: start; }
.spo-scenario-list { border-top: 1px solid var(--spo-line); }
.spo-scenario-list article { padding: 19px 0; border-bottom: 1px solid var(--spo-line); }
.spo-scenario-list span { color: var(--spo-blue); font-size: 11px; font-weight: 820; }
.spo-scenario-list h3 { margin: 6px 0 7px; font-size: 18px; }
.spo-scenario-list p { margin: 0; color: var(--spo-muted); font-size: 12px; }
.spo-boundary { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; margin-top: 68px; padding: 38px; color: #fff; background: var(--spo-night); }
.spo-boundary h2 { margin-bottom: 12px; font-size: 28px; }
.spo-boundary p, .spo-boundary li { color: rgba(255,255,255,.66); font-size: 13px; }
.spo-boundary ul { margin: 0; padding-left: 20px; }
.spo-boundary li + li { margin-top: 9px; }
.spo-faq { margin-top: 40px; border-top: 1px solid var(--spo-line); }
.spo-faq details { border-bottom: 1px solid var(--spo-line); }
.spo-faq summary { padding: 19px 0; font-size: 16px; font-weight: 760; cursor: pointer; }
.spo-faq details p { max-width: 900px; margin: -6px 0 19px; color: var(--spo-muted); font-size: 13px; }

.spo-contact { padding: 68px 0; color: #fff; background: linear-gradient(120deg, #087188, #07536f); }
.spo-contact__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 38px; }
.spo-contact h2 { margin-bottom: 10px; font-size: clamp(28px, 3vw, 42px); }
.spo-contact p { margin: 0; color: rgba(255,255,255,.72); }
.spo-contact__actions { display: flex; gap: 10px; }
.spo-reveal { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.spo-reveal.is-reveal-pending { opacity: 0; transform: translateY(18px); }
.spo-reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1260px) { body.xb-shell-ready:not(.xb-shell-embedded) .spo-anchor { display: block; } }
@media (max-width: 1080px) {
  :root { --spo-shell: min(100% - 40px, 920px); }
  .spo-heading { grid-template-columns: 1fr; gap: 14px; }
  .spo-role-field { grid-template-columns: repeat(3, 1fr); }
  .spo-role-field article, .spo-role-field article:nth-child(4), .spo-role-field article:nth-child(5) { grid-column: auto; }
  .spo-role-field article:nth-child(4) { padding-left: 0; border-left: 0; border-top: 1px solid var(--spo-line); }
  .spo-role-field article:nth-child(n+4) { border-top: 1px solid var(--spo-line); }
  .spo-story, .spo-story--reverse { grid-template-columns: 1fr; gap: 37px; }
  .spo-story--reverse > :first-child, .spo-story--reverse > :last-child { order: initial; transform: none; }
  .spo-workflow { grid-template-columns: repeat(2, 1fr); }
  .spo-workflow li:nth-child(odd) { border-left: 0; }
  .spo-workflow li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
  .spo-workflow li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .spo-scenario-layout { grid-template-columns: 1fr; }
  .spo-scenario-list { display: grid; grid-template-columns: 1fr 1fr; }
  .spo-scenario-list article:nth-child(odd) { padding-right: 20px; }
  .spo-scenario-list article:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--spo-line); }
  .spo-boundary { grid-template-columns: 1fr; gap: 23px; }
}

@media (max-width: 820px) {
  .spo-hero { display: flex; height: auto; min-height: 0; flex-direction: column; background: var(--spo-night); }
  .spo-hero::after { display: none; }
  .spo-hero__inner { order: 1; width: 100%; height: auto; }
  .spo-hero__copy { width: 100%; padding: 50px 0 40px; }
  .spo-hero__media { position: relative; inset: auto; order: 2; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #081f2b; }
  .spo-hero__media img { object-fit: contain; object-position: center top; }
  .spo-role-field { grid-template-columns: 1fr 1fr; }
  .spo-role-field article, .spo-role-field article:nth-child(4), .spo-role-field article:nth-child(5) { border-top: 1px solid var(--spo-line); }
  .spo-role-field article:nth-child(odd) { padding-left: 0; border-left: 0; }
  .spo-role-field article:first-child, .spo-role-field article:nth-child(2) { border-top: 0; }
  .spo-workflow { grid-template-columns: repeat(2, 1fr); }
  .spo-workflow li:nth-child(odd) { border-left: 0; }
  .spo-workflow li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
  .spo-workflow li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .spo-twin, .spo-twin-copy { grid-template-columns: 1fr; }
  .spo-twin .spo-scene:first-child { transform: none; }
  .spo-twin-copy { margin-top: 36px; gap: 27px; }
  .spo-console-rails { grid-template-columns: 1fr 1fr; }
  .spo-console-rails article:nth-child(odd) { border-left: 0; }
  .spo-console-rails article:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .spo-contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --spo-shell: calc(100% - 28px); }
  .spo-section { padding: 64px 0; }
  .spo-heading { margin-bottom: 29px; }
  .spo-hero__copy { padding: 40px 0 33px; }
  .spo-hero h1 { font-size: 37px; }
  .spo-hero__claim { font-size: 20px; }
  .spo-proof { grid-template-columns: 1fr; }
  .spo-proof li { padding: 12px 0; }
  .spo-proof li + li { padding-left: 0; border-top: 1px solid rgba(255,255,255,.13); border-left: 0; }
  .spo-anchor__scroll { justify-content: flex-start; gap: 23px; }
  .spo-role-field { grid-template-columns: 1fr; }
  .spo-role-field article, .spo-role-field article:first-child, .spo-role-field article:nth-child(4), .spo-role-field article:nth-child(5) { padding: 18px 0; border-top: 1px solid var(--spo-line); border-left: 0; }
  .spo-role-field article:first-child { border-top: 0; }
  .spo-workflow { grid-template-columns: 1fr; }
  .spo-workflow li, .spo-workflow li:nth-child(odd), .spo-workflow li:nth-child(even) { border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .spo-workflow li:first-child { border-top: 0; }
  .spo-pain-rail, .spo-metric-band { grid-template-columns: 1fr; }
  .spo-pain-rail article { padding: 19px 0; }
  .spo-metric-band article, .spo-metric-band article:first-child { padding: 17px 0; border-top: 1px solid var(--spo-line); border-left: 0; }
  .spo-wide-scene, .spo-scene { border-radius: 10px; }
  .spo-wide-scene figcaption, .spo-scene figcaption { padding: 12px 14px; }
  .spo-wide-scene figcaption span, .spo-scene figcaption span { display: none; }
  .spo-service-ui { padding: 20px 14px; }
  .spo-service-ui__stats { grid-template-columns: 1fr; }
  .spo-service-ui__rows > div { grid-template-columns: 1fr auto; }
  .spo-service-ui__rows i { grid-column: 2; }
  .spo-feature-lines article { grid-template-columns: 34px 1fr; }
  .spo-scenario-list { grid-template-columns: 1fr; }
  .spo-scenario-list article:nth-child(odd), .spo-scenario-list article:nth-child(even) { padding-right: 0; padding-left: 0; border-left: 0; }
  .spo-boundary { margin-top: 46px; padding: 27px 19px; }
  .spo-contact__actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spo-reveal,
  .spo-reveal.is-reveal-pending { opacity: 1; transform: none; transition: none; }
  .spo-button { transition: none; }
}

/* Ultra-wide face-safe hero for both park operators. */
@media (min-width: 1041px) {
  .spo-hero { height: auto; min-height: clamp(650px, 25vw, 860px); }
  .spo-hero__inner { min-height: clamp(650px, 25vw, 860px); }
  .spo-hero__media img { object-position: center 26%; }
}
