/* Single-Tenant Installation — service page. Uses the site tokens from main.css. */
.st-page section[id] { scroll-margin-top: 90px; }
.st-page .grid-2 > *, .st-page .grid-3 > * { min-width: 0; }
.st-page code { font-family: var(--font-mono); font-size: 0.86em; overflow-wrap: anywhere; }
.st-note { font-size: 0.88rem; color: #aebdd2; margin: 16px 0 0; }
.st-page .office-card h3 { font-size: 1.15rem; margin-top: 0; }
.st-small { font-size: 0.9rem; color: var(--ink-mute); margin: 16px 0 0; }

/* ---- architecture diagram ---------------------------------------------------------------- */
.st-arch { display: grid; grid-template-columns: 1fr 120px 1.35fr 120px 1fr; align-items: stretch; }
.st-zone { border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.st-zone-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }
.st-node { border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 12px 14px; background: var(--surface-alt); }
.st-node b { display: block; color: var(--navy-900); font-size: 0.95rem; }
.st-node span { display: block; color: var(--ink-mute); font-size: 0.84rem; line-height: 1.45; margin-top: 2px; }
.st-node-opt { background: #fff; border-style: dashed; }

.st-instance { background: var(--navy-900); border-color: var(--navy-900); border-top: 4px solid var(--accent-orange); }
.st-instance .st-zone-title { color: #aebdd2; }
.st-domain { margin: -6px 0 2px; color: #fff; font-size: 0.95rem; }
.st-domain code { background: rgba(255,255,255,0.08); padding: 2px 8px; border-radius: 3px; }
.st-layer { border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md); padding: 11px 14px; background: rgba(255,255,255,0.04); }
.st-layer b { display: block; color: #fff; font-size: 0.93rem; }
.st-layer span { display: block; color: #b9c6d9; font-size: 0.83rem; line-height: 1.45; margin-top: 2px; }
.st-layer-key { border-color: rgba(217,99,31,0.7); }
.st-operated { margin: 4px 0 0; font-size: 0.8rem; color: #aebdd2; text-align: center; }

.st-links { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 0 8px; }
.st-link { text-align: center; }
.st-link i { display: block; font-style: normal; color: var(--brand-blue); font-size: 1.5rem; line-height: 1; }
.st-link span { display: block; font-size: 0.76rem; line-height: 1.35; color: var(--ink-mute); margin-top: 4px; }

.st-wall { margin-top: 22px; border: 2px dashed var(--line); border-radius: var(--radius-md); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; background: repeating-linear-gradient(135deg, #fafafa 0 10px, #f3f3f3 10px 20px); }
.st-wall b { color: var(--navy-900); font-size: 0.95rem; flex: 1 1 280px; }
.st-wall span { font-size: 0.82rem; font-weight: 600; color: var(--ink-mute); border: 1px solid var(--line); background: #fff; padding: 5px 12px; border-radius: var(--radius-sm); opacity: 0.75; }

/* ---- data flow (swim lanes) -------------------------------------------------------------- */
.st-flow { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); row-gap: 14px; padding-bottom: 8px; }
.st-lanes { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); pointer-events: none; }
.st-lanes div { border-right: 1px dashed var(--line); }
.st-lanes div:nth-child(2) { background: rgba(28,74,133,0.05); }
.st-lanes div:last-child { border-right: none; }
.st-lane-head { grid-column: span 2; position: relative; text-align: center; padding: 10px 8px 14px; }
.st-lane-head b { display: block; color: var(--navy-900); font-size: 0.98rem; }
.st-lane-head span { display: block; color: var(--ink-mute); font-size: 0.8rem; }
.st-step { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 0 10px; }
.st-num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-blue); color: #fff; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.st-step-opt .st-num { background: #fff; color: var(--brand-blue); border: 2px dashed var(--brand-blue); }
.st-line { position: relative; height: 2px; background: var(--brand-blue); margin: 13px 0 8px; }
.st-step-opt .st-line { background: repeating-linear-gradient(90deg, var(--brand-blue) 0 8px, transparent 8px 14px); }
.st-line::after { content: ""; position: absolute; top: -5px; border: 6px solid transparent; }
.st-r .st-line::after { right: -2px; border-left: 9px solid var(--brand-blue); border-right: 0; }
.st-l .st-line::after { left: -2px; border-right: 9px solid var(--brand-blue); border-left: 0; }
.st-b .st-line::after { right: -2px; border-left: 9px solid var(--brand-blue); border-right: 0; }
.st-b .st-line::before { content: ""; position: absolute; top: -5px; left: -2px; border: 6px solid transparent; border-right: 9px solid var(--brand-blue); border-left: 0; }
.st-step b { display: block; color: var(--navy-900); font-size: 0.93rem; }
.st-step small { display: block; color: var(--ink-soft); font-size: 0.83rem; line-height: 1.45; margin-top: 2px; }
.st-step em { display: none; font-style: normal; font-size: 0.76rem; font-weight: 600; color: var(--brand-blue); }
.st-c13 { grid-column: 2 / 4; } .st-c35 { grid-column: 4 / 6; }

.st-stays { margin-top: 34px; }
.st-stays .office-card ul { margin-top: 12px; }

/* ---- comparison table, steps, responsibilities ------------------------------------------- */
.st-table { overflow-x: auto; }
.st-table table { min-width: 720px; }
.st-table td, .st-table th { vertical-align: top; }
.st-table td:first-child { color: var(--navy-900); font-weight: 600; }
.st-table td:nth-child(3), .st-table th:nth-child(3) { background: var(--brand-blue-light); }
.st-table th:nth-child(3) { color: var(--brand-blue-dark); }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: st; }
.st-steps li { counter-increment: st; border-top: 2px solid var(--brand-blue); padding-top: 16px; }
.st-steps b { display: block; color: var(--navy-900); margin-bottom: 6px; }
.st-steps b::before { content: counter(st) ". "; color: var(--brand-blue); }
.st-steps span { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.6; }
.st-who h3 { display: flex; align-items: center; gap: 10px; }
.st-who h3 i { font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--brand-blue); padding: 3px 8px; border-radius: var(--radius-sm); }
.st-who .office-card:last-child h3 i { background: var(--accent-orange); }
.st-faq details { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
.st-faq summary { cursor: pointer; font-weight: 600; color: var(--navy-900); }
.st-faq details p { margin: 10px 0 0; font-size: 0.95rem; }
.st-legal { font-size: 0.85rem; color: var(--ink-mute); max-width: 860px; margin: 28px 0 0; }

@media (max-width: 1080px) {
  .st-arch { grid-template-columns: 1fr; gap: 6px; }
  .st-links { flex-direction: row; justify-content: center; gap: 28px; padding: 8px 0; }
  .st-link i { transform: rotate(90deg); }
  .st-flow { grid-template-columns: 1fr; }
  .st-lanes, .st-lane-head { display: none; }
  .st-c13, .st-c35 { grid-column: 1; }
  .st-step { padding: 0; }
  .st-step em { display: block; }
  .st-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .st-steps { grid-template-columns: 1fr; }
}
