/* Smart Access: page components on the homepage-aligned service shell (service-home-ux.css).
   Homepage tokens: #1f1f1f panels, #565656 outlines, Inter 300 headings, #999 body text,
   --primary-color accent, no glass blur. Status colours stay fixed when the accent changes. */
body.sa-page {
  --sa-accent: var(--primary-color, #28e98c);
  --sa-line: #565656;
  --sa-line-2: #383838;
  --sa-panel: #1f1f1f;
  --sa-well: #161616;
  --sa-muted: #a3a3a3;
  --sa-ok: #3ddc97;
  --sa-warn: #f5c84b;
  --sa-no: #ff7a7a;
  --sa-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
.sa-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sa-skip { position: absolute; left: 12px; top: -60px; z-index: 5000; padding: 10px 16px; border-radius: 30px; background: var(--sa-accent); color: #000; font-weight: 700; text-decoration: none; }
.sa-skip:focus { top: 12px; }
body.sa-page .sa-shell { scroll-margin-top: 20px; }
body.sa-page .sa-section[id], body.sa-page .sa-module { scroll-margin-top: 24px; }

/* ---- hero ---------------------------------------------------------------------- */
body.sa-page .sa-hero { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(24px, 3.5vw, 44px); align-items: start; }
body.sa-page .sa-hero h1 { font-size: clamp(34px, 4.3vw, 54px); line-height: 1.12; }
body.sa-page .sa-hero h1 .tt-svc-gradient { display: inline; }
body.sa-page .sa-hero__copy > p { margin: 0; }
.sa-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--sa-line-2); }
.sa-facts li { padding: 16px 14px 0 0; }
.sa-facts li + li { padding-left: 14px; border-left: 1px solid var(--sa-line-2); }
.sa-facts strong { display: block; color: #fff; font: 300 clamp(24px, 2.6vw, 32px)/1.1 Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.sa-facts span { display: block; margin-top: 6px; color: var(--sa-muted); font-size: 12.5px; line-height: 1.45; }

/* The decision-path console (hero aside). */
body.sa-page .sa-console { padding: 20px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.sa-console__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body.sa-page .sa-console__head h2 { margin: 0; flex: 1; display: flex; align-items: center; gap: 9px; color: #fff; font: 500 15px/1.3 Inter, system-ui, sans-serif; letter-spacing: 0; }
.sa-live { width: 8px; height: 8px; border-radius: 50%; background: var(--sa-ok); box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: sa-pulse 2.4s ease-out infinite; }
.sa-console.is-paused .sa-live { animation: none; background: #7a7a7a; box-shadow: none; }
@keyframes sa-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }
.sa-chip { border: 1px solid var(--sa-line); border-radius: 30px; padding: 3px 10px; color: #cfcfcf; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
body.sa-page .sa-pause { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border: 1px solid var(--sa-line); border-radius: 30px; background: transparent; color: #e6e6e6; font: 600 12px/1 Inter, system-ui, sans-serif; cursor: pointer; }
body.sa-page .sa-pause[hidden] { display: none; }
body.sa-page .sa-pause:hover { border-color: var(--sa-accent); color: var(--sa-accent); }
body.sa-page .sa-pause i { font-size: 15px; color: inherit; }
.sa-scenarios { display: flex; flex-wrap: wrap; gap: 6px; }
.sa-scenarios:empty { display: none; }
body.sa-page .sa-scn { min-height: 32px; padding: 5px 12px; border: 1px solid var(--sa-line-2); border-radius: 30px; background: var(--sa-well); color: #cfcfcf; font: 500 12.5px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
body.sa-page .sa-scn:hover { border-color: var(--sa-line); color: #fff; }
body.sa-page .sa-scn[aria-pressed="true"] { border-color: var(--sa-accent); color: var(--sa-accent); background: rgba(40, 233, 140, .08); }
.sa-trace { min-height: 318px; border: 1px solid var(--sa-line-2); border-radius: 14px; background: var(--sa-well); padding: 14px 16px 12px; }
.sa-trace__title { margin: 0 0 12px; display: flex; flex-direction: column; gap: 2px; }
.sa-trace__title strong { color: #fff; font-weight: 500; font-size: 15px; }
.sa-trace__title span { color: var(--sa-muted); font: 400 12px/1.4 var(--sa-mono); }
.sa-steps { list-style: none; margin: 0; padding: 0; }
.sa-steps li { position: relative; display: grid; grid-template-columns: 22px 92px minmax(0, 1fr); gap: 0 10px; align-items: baseline; padding: 0 0 11px; font-size: 13px; line-height: 1.45; }
.sa-steps li::before { content: '✓'; grid-row: 1; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 700 11px/1 Inter, system-ui, sans-serif; color: #04120b; background: var(--sa-ok); align-self: start; position: relative; z-index: 1; }
.sa-steps li:not(:last-child)::after { content: ''; position: absolute; left: 9.5px; top: 21px; bottom: 1px; width: 1px; background: var(--sa-line-2); }
.sa-steps li[data-state="no"]::before { content: '✕'; background: var(--sa-no); color: #1a0505; }
.sa-steps li[data-state="warn"]::before { content: '!'; background: var(--sa-warn); color: #1a1405; }
.sa-steps b { color: #fff; font-weight: 500; }
.sa-steps span { color: #b9b9b9; }
.sa-outcome { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid; font-size: 13px; line-height: 1.45; }
.sa-outcome b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.sa-outcome span { color: #d9d9d9; }
.sa-outcome[data-outcome="allow"] { border-color: rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .08); }
.sa-outcome[data-outcome="allow"] b { color: var(--sa-ok); }
.sa-outcome[data-outcome="deny"] { border-color: rgba(255, 122, 122, .45); background: rgba(255, 122, 122, .08); }
.sa-outcome[data-outcome="deny"] b { color: var(--sa-no); }
.sa-outcome[data-outcome="step_up"] { border-color: rgba(245, 200, 75, .45); background: rgba(245, 200, 75, .08); }
.sa-outcome[data-outcome="step_up"] b { color: var(--sa-warn); }
body.sa-page .sa-reason { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 10px 0 0; color: #8d8d8d; font-size: 12px; line-height: 1.6; overflow-wrap: break-word; }
.sa-reason code, .sa-trace code { font: 400 11.5px/1.5 var(--sa-mono); color: #d4d4d4; background: #0f0f0f; border: 1px solid var(--sa-line-2); border-radius: 6px; padding: 1px 6px; }
.sa-trace.is-in .sa-steps li, .sa-trace.is-in .sa-outcome, .sa-trace.is-in .sa-reason { animation: sa-in .32s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 110ms); }
@keyframes sa-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.sa-progress { height: 2px; margin: -4px 2px 0; border-radius: 2px; background: var(--sa-line-2); overflow: hidden; }
.sa-progress i { display: block; height: 100%; width: 100%; background: var(--sa-accent); transform-origin: left; transform: scaleX(0); animation: sa-progress var(--sa-dwell, 6.5s) linear forwards; }
.sa-console.is-paused .sa-progress i { animation-play-state: paused; opacity: .45; }
.sa-console:not(.is-ready) .sa-progress { visibility: hidden; }
@keyframes sa-progress { to { transform: scaleX(1); } }
body.sa-page .sa-console__foot { margin: 0; color: #8d8d8d; font-size: 12px; line-height: 1.55; }

/* ---- capabilities ---------------------------------------------------------------- */
body.sa-page .sa-section > p { margin-bottom: 0; }
body.sa-page .sa-section > .tt-svc-eyebrow { margin-bottom: 16px; }
body.sa-page .sa-features .tt-svc-card { display: flex; flex-direction: column; }
body.sa-page .sa-features .tt-svc-card p { flex: 1; margin-bottom: 14px; }
body.sa-page .tt-svc-card .sa-tag { align-self: flex-start; }

/* ---- links into the live platform ----------------------------------------------------------
   Capability cards, module cards and the decision tour link to the place in the live platform
   where a signed-in customer sees each capability. Every one opens a new tab, marked by its
   trailing icon, and wraps its label rather than overflow a narrow card. */
body.sa-page .sa-module__open, body.sa-page .tt-svc-card .sa-tag, body.sa-page .sa-reason__open, body.sa-page .tt-svc-card .sa-product__open { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 34px; padding: 6px 14px; border: 1px solid var(--sa-line); border-radius: 30px; color: #fff; font: 600 12.5px/1.2 Inter, system-ui, sans-serif; text-decoration: none; overflow-wrap: anywhere; }
body.sa-page .sa-module__open i, body.sa-page .tt-svc-card .sa-tag i, body.sa-page .sa-reason__open i, body.sa-page .tt-svc-card .sa-product__open i { flex: none; font-size: 14px; color: var(--sa-accent); }
body.sa-page .sa-module__open:hover, body.sa-page .tt-svc-card .sa-tag:hover, body.sa-page .sa-reason__open:hover, body.sa-page .tt-svc-card .sa-product__open:hover { border-color: var(--sa-accent); color: var(--sa-accent); }
body.sa-page .sa-module__open:focus-visible, body.sa-page .tt-svc-card .sa-tag:focus-visible, body.sa-page .sa-reason__open:focus-visible, body.sa-page .tt-svc-card .sa-product__open:focus-visible { border-color: var(--sa-accent); color: var(--sa-accent); outline: 2px solid var(--sa-accent); outline-offset: 2px; }

.sa-editions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; }
.sa-editions article { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sa-line); border-radius: 18px; background: var(--sa-panel); transition: border-color .2s; }
.sa-editions article:hover { border-color: var(--sa-accent); }
body.sa-page .sa-editions i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--sa-line); background: var(--sa-panel); font-size: 24px; color: var(--sa-accent); }
body.sa-page .sa-editions h3 { margin: 10px 0 6px; color: #fff; font: 400 17px/1.3 Inter, system-ui, sans-serif; }
.sa-editions p { margin: 0; color: #999; font-size: 13.5px; line-height: 1.6; }
.sa-edition__photo { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #121212; }
.sa-edition__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.sa-editions article:hover .sa-edition__photo img { transform: scale(1.06); }
.sa-edition__photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, #1f1f1f 0%, rgba(31, 31, 31, 0) 55%); }
.sa-edition__body { position: relative; z-index: 1; margin-top: -26px; padding: 0 18px 18px; }

/* ---- photographs (Unsplash License) and animations (Lottie Simple License) ------------------ */
.sa-credit { font-size: 11px; line-height: 1.4; }
body.sa-page .sa-credit a { color: #d8d8d8; text-decoration: underline; text-underline-offset: 2px; }
.sa-edition__photo .sa-credit, .sa-plane__photo .sa-credit { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 2px 8px; border-radius: 20px; background: rgba(0, 0, 0, .6); }
body.sa-page .sa-edition__photo .sa-credit a, body.sa-page .sa-plane__photo .sa-credit a { text-decoration: none; }
body.sa-page .sa-edition__photo .sa-credit a:hover, body.sa-page .sa-plane__photo .sa-credit a:hover { text-decoration: underline; }
.sa-photo-note { margin: 14px 0 0; color: #8d8d8d; font-size: 12.5px; line-height: 1.6; }

.sa-field { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; height: clamp(440px, 46vw, 600px); }
.sa-shot { position: relative; margin: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--sa-line); background: #121212; }
.sa-shot:first-child { grid-row: 1 / span 2; }
.sa-shot:last-child { grid-column: 2 / span 2; }
.sa-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.sa-field.is-live .sa-shot img { animation: sa-drift 18s ease-in-out infinite alternate; }
.sa-field.is-live .sa-shot:nth-child(2) img { animation-duration: 21s; animation-delay: -6s; transform-origin: 70% 30%; }
.sa-field.is-live .sa-shot:nth-child(3) img { animation-duration: 17s; animation-delay: -11s; transform-origin: 30% 70%; }
.sa-field.is-live .sa-shot:nth-child(4) img { animation-duration: 23s; animation-delay: -3s; transform-origin: 60% 50%; }
@keyframes sa-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1%, -1.2%); } }
.sa-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 3px; padding: 56px 18px 14px; background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, 0)); }
.sa-shot figcaption strong { color: #fff; font-weight: 500; font-size: 17px; }
.sa-shot figcaption > span { max-width: 46ch; color: #d2d2d2; font-size: 13.5px; line-height: 1.5; }
.sa-shot .sa-credit { margin-top: 6px; }
body.sa-page .sa-shot .sa-credit a { color: #b9b9b9; }

.sa-motion { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.sa-motion__tile { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 16px; align-items: center; padding: 16px; border: 1px solid var(--sa-line); border-radius: 20px; background: var(--sa-panel); }
.sa-motion__stage { grid-row: 1 / span 2; width: 104px; height: 104px; overflow: hidden; border-radius: 16px; border: 1px solid var(--sa-line-2); background: #141414; }
.sa-motion__stage svg { display: block; }
.sa-motion__stage--invert svg { filter: invert(1) hue-rotate(180deg); }
body.sa-page .sa-motion__tile h3 { align-self: end; margin: 0; color: #fff; font: 500 16px/1.3 Inter, system-ui, sans-serif; }
.sa-motion__tile p { align-self: start; margin: 0; color: #a3a3a3; font-size: 13px; line-height: 1.55; }

body.sa-page .sa-plane { padding-top: 0; overflow: hidden; }
.sa-plane__photo { position: relative; margin: 0 calc(-1 * clamp(20px, 2.5vw, 29px)) 18px; aspect-ratio: 21 / 10; overflow: hidden; background: #121212; }
.sa-plane__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sa-plane__photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, #1f1f1f, rgba(31, 31, 31, 0) 60%); }
.sa-cta__art { width: 200px; aspect-ratio: 23 / 15; }

.sa-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(22px, 4vw, 48px); align-items: center; }
.sa-copy { color: #999; font-size: 15px; line-height: 1.75; margin: 0 0 18px; max-width: 640px; }
.sa-copy--small { font-size: 13.5px; margin: 18px 0 0; }
.sa-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.sa-chips li { border: 1px solid var(--sa-line); border-radius: 30px; padding: 7px 14px; color: #e4e4e4; font-size: 13px; background: var(--sa-panel); }
.sa-policy__kicker { color: var(--sa-accent); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
body.sa-page .sa-policy h3 { margin: 6px 0 14px; }
body.sa-page .sa-policy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
body.sa-page .sa-policy li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: baseline; color: #cfcfcf; }
body.sa-page .sa-policy li::before { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(40, 233, 140, .5); color: var(--sa-accent); font-size: 11px; font-weight: 700; }
.sa-policy__out { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--sa-line-2); }
.sa-policy__out strong { color: #fff; font-weight: 500; }
.sa-policy__out span { border: 1px solid var(--sa-line); border-radius: 30px; padding: 6px 14px; color: #fff; font: 500 12.5px/1.2 var(--sa-mono); }

/* ---- resilience -------------------------------------------------------------------- */
.sa-slo { margin: 8px 0 0; border: 1px solid var(--sa-line); border-radius: 20px; background: var(--sa-panel); padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(18px, 3vw, 36px); align-items: center; }
body.sa-page .sa-slo h3 { margin: 0 0 8px; color: #fff; font: 300 24px/1.25 Inter, system-ui, sans-serif; }
.sa-slo__head p { margin: 0; color: #999; font-size: 13.5px; line-height: 1.7; }
.sa-slo__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: slo; }
.sa-slo__steps li { position: relative; padding: 22px 14px 0 0; }
.sa-slo__steps li::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: linear-gradient(90deg, var(--sa-accent), rgba(40, 233, 140, .15)); }
.sa-slo__steps li::after { content: ''; position: absolute; left: 0; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--sa-accent); box-shadow: 0 0 0 4px #1f1f1f; }
.sa-slo__steps strong { display: block; color: #fff; font: 300 22px/1.15 Inter, system-ui, sans-serif; letter-spacing: -.01em; }
.sa-slo__steps span { display: block; margin-top: 6px; color: #a8a8a8; font-size: 12.5px; line-height: 1.5; }

/* ---- architecture -------------------------------------------------------------------- */
.sa-flow { list-style: none; margin: 22px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.sa-flow li { position: relative; border: 1px solid var(--sa-line); border-radius: 18px; background: var(--sa-panel); padding: 18px; }
.sa-flow li:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -24px; width: 18px; height: 18px; transform: translateY(-50%); background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328e98c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.sa-flow strong { display: block; color: #fff; font-weight: 500; font-size: 15.5px; }
.sa-flow span { display: block; margin-top: 6px; color: #999; font-size: 13px; line-height: 1.55; }
.sa-planes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body.sa-page .sa-plane h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
body.sa-page .sa-plane h3 i { font-size: 22px; }
body.sa-page .sa-plane ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.sa-page .sa-plane li { position: relative; padding-left: 18px; color: #bdbdbd; }
body.sa-page .sa-plane li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #6f6f6f; }
body.sa-page .sa-plane--edge li::before { background: var(--sa-accent); }
body.sa-page .sa-plane--edge { border-color: rgba(40, 233, 140, .4); }

/* ---- the TeknTandao Platform block -------------------------------------------------------
   Every public product of the platform, each with its link into the live platform, then the page
   of every link. The cards wrap to one column long before 320 px. */
.sa-products { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
body.sa-page .sa-product { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
body.sa-page .sa-product h3 { margin: 12px 0 6px; }
body.sa-page .sa-product p { flex: 1; margin: 0 0 14px; }
.sa-products__all { margin: 18px 0 0; }
body.sa-page .sa-products__links { max-width: 100%; overflow-wrap: anywhere; }
body.sa-page .sa-products__links .la-external-link-alt { font-size: 15px; opacity: .75; }
body.sa-page .sa-products__links:focus-visible { border-color: var(--sa-accent); color: var(--sa-accent); outline: 2px solid var(--sa-accent); outline-offset: 3px; }
body.sa-page .sa-products__site { margin: 16px 0 0; color: var(--sa-muted); font-size: 13.5px; line-height: 1.7; }
body.sa-page .sa-products__site a { color: var(--sa-accent); }
body.sa-page .sa-products__site a:focus-visible, body.sa-page .sa-footer a:focus-visible { outline: 2px solid var(--sa-accent); outline-offset: 2px; border-radius: 4px; }
body.sa-page .sa-footer__platform i { margin-left: 5px; font-size: 13px; }

/* ---- inside the platform ------------------------------------------------------------------
   The intro opens the live platform; the module map below is generated from the platform code
   at build time, and each module links to its place in the live platform. */
body.sa-page .sa-launch .tt-svc-button .la-external-link-alt { font-size: 15px; opacity: .75; }
body.sa-page .sa-launch .tt-svc-button:focus-visible { border-color: var(--sa-accent); color: var(--sa-accent); outline: 2px solid var(--sa-accent); outline-offset: 3px; }
body.sa-page .sa-launch__note { margin: 14px 0 0; color: var(--sa-muted); font-size: 13.5px; line-height: 1.6; }
body.sa-page .sa-module__open { justify-self: start; margin-top: 6px; }
.sa-repo { margin: 22px 0 18px; border: 1px solid var(--sa-line); border-radius: 20px; background: var(--sa-panel); padding: clamp(20px, 3vw, 28px); }
.sa-repo__id { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
body.sa-page .sa-repo__id > i { font-size: 34px; color: var(--sa-accent); }
.sa-repo__id > div { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 3px; }
.sa-repo__id strong { color: #fff; font-weight: 500; font-size: 18px; }
.sa-repo__id span { color: var(--sa-muted); font-size: 13px; line-height: 1.5; }
.sa-repo__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 22px 0 0; border-top: 1px solid var(--sa-line-2); }
.sa-repo__stats div { padding: 16px 14px 0 0; }
.sa-repo__stats div + div { padding-left: 14px; border-left: 1px solid var(--sa-line-2); }
.sa-repo__stats dt { color: var(--sa-muted); font-size: 12px; letter-spacing: .04em; }
.sa-repo__stats dd { margin: 4px 0 0; color: #fff; font: 300 30px/1.1 Inter, system-ui, sans-serif; }
.sa-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sa-map__group { border: 1px solid var(--sa-line); border-radius: 20px; background: var(--sa-panel); padding: clamp(18px, 2.6vw, 26px); }
body.sa-page .sa-map__group h3 { margin: 0 0 4px; color: #fff; font: 400 20px/1.3 Inter, system-ui, sans-serif; }
.sa-map__group > p { margin: 0 0 8px; color: #999; font-size: 13.5px; }
.sa-map__group ul { list-style: none; margin: 0; padding: 0; }
.sa-module { border-top: 1px solid var(--sa-line-2); }
.sa-module { display: grid; gap: 4px; padding: 12px 8px; margin: 0 -8px; }
.sa-module strong { color: #fff; font-weight: 500; font-size: 15px; }
.sa-module > span { color: #a8a8a8; font-size: 13.5px; line-height: 1.6; }
.sa-module:target { border-radius: 10px; border-top-color: transparent; background: rgba(40, 233, 140, .07); box-shadow: inset 0 0 0 1px rgba(40, 233, 140, .55); animation: sa-target 2.4s ease-out 1; }
@keyframes sa-target { 0% { background: rgba(40, 233, 140, .22); } 100% { background: rgba(40, 233, 140, .07); } }

/* ---- call to action and footer ---------------------------------------------------------- */
body.sa-page .sa-cta { display: grid; grid-template-columns: auto minmax(0, 1.4fr) auto; gap: 24px 30px; align-items: center; padding: clamp(24px, 4vw, 44px); }
.sa-footer__credits { color: #8d8d8d; }
body.sa-page .sa-cta h2 { margin: 14px 0 10px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; }
body.sa-page .sa-cta p { margin: 0; max-width: 660px; }
body.sa-page .sa-cta .tt-svc-actions { margin: 0; justify-content: flex-end; }
.sa-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.sa-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sa-footer a { text-decoration: none; }
.sa-footer a:hover { text-decoration: underline; }

/* ---- responsive ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .sa-editions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sa-slo { grid-template-columns: 1fr; }
  .sa-motion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  body.sa-page .sa-hero { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sa-split, .sa-map, .sa-planes { grid-template-columns: 1fr; }
  .sa-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-flow li:nth-child(2)::after { display: none; }
  body.sa-page .sa-cta { grid-template-columns: 1fr; }
  body.sa-page .sa-cta .tt-svc-actions { justify-content: flex-start; }
  .sa-field { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; height: auto; }
  .sa-shot { aspect-ratio: 4 / 3; }
  .sa-shot:first-child, .sa-shot:last-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 700px) {
  .sa-editions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-facts, .sa-repo__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-facts li:nth-child(3), .sa-repo__stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sa-facts li:nth-child(n+3), .sa-repo__stats div:nth-child(n+3) { margin-top: 14px; }
  .sa-slo__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .sa-motion { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sa-editions, .sa-flow { grid-template-columns: 1fr; }
  .sa-flow { gap: 26px; }
  .sa-flow li:not(:last-child)::after { display: block; top: auto; bottom: -22px; right: auto; left: 22px; transform: rotate(90deg); }
  .sa-steps li { grid-template-columns: 22px minmax(0, 1fr); }
  .sa-steps li span { grid-column: 2; }
  .sa-trace { min-height: 0; }
  body.sa-page .sa-console { padding: 16px; }
  .sa-field { grid-template-columns: 1fr; }
  .sa-shot, .sa-shot:first-child, .sa-shot:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .sa-motion__tile { grid-template-columns: 84px minmax(0, 1fr); }
  .sa-motion__stage { width: 84px; height: 84px; }
  .sa-cta__art { width: 170px; }
  body.sa-page .sa-launch .tt-svc-button { flex: 1 1 100%; padding-inline: 18px; text-align: center; }
}
@media (pointer: coarse) {
  body.sa-page .sa-scn, body.sa-page .sa-pause, body.sa-page .sa-module__open, body.sa-page .tt-svc-card .sa-tag, body.sa-page .sa-reason__open, body.sa-page .tt-svc-card .sa-product__open { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .sa-live, .sa-trace.is-in .sa-steps li, .sa-trace.is-in .sa-outcome, .sa-trace.is-in .sa-reason, .sa-module:target { animation: none !important; }
  .sa-progress { display: none; }
  .sa-editions article { transition: none; }
  .sa-field .sa-shot img { animation: none !important; }
  .sa-edition__photo img { transition: none; }
  .sa-editions article:hover .sa-edition__photo img { transform: none; }
}
