/* Smart Source public design system. Loaded after legacy, discovery and visual CSS.
   Scope is deliberately public pages; campaign flows and consent controls retain their own contracts. */
body.reference-aligned:not(.offer){
  --ssa-ink:#14203f;--ssa-navy:#0a1230;--ssa-blue:#263891;--ssa-accent:#c81078;--ssa-accent-hover:#a70c67;--ssa-brand-pink:#ed1690;
  --ssa-muted:#52617a;--ssa-line:#dce3f2;--ssa-soft:#f5f7ff;--ssa-white:#fff;
  --ssa-radius:16px;--ssa-button-radius:10px;--ssa-gap:20px;--ssa-pad:24px;
  --ssa-space:clamp(42px,4.5vw,64px);--ssa-shadow:0 8px 26px #14203f0b;
  --ssa-dark:radial-gradient(ellipse at 92% 18%,#ed16904a,transparent 50%),linear-gradient(120deg,#0a1230 0%,#18265d 62%,#263891 100%);
  --ssa-cta:linear-gradient(115deg,#263891,#353d95 62%,#a71073);
  --ssa-title:clamp(29px,3.1vw,44px);--ssa-card-title:clamp(18px,1.55vw,22px);
  --ink:var(--ssa-ink);--blue:var(--ssa-blue);--muted:var(--ssa-muted);--line:var(--ssa-line);--soft:var(--ssa-soft);
}
body.reference-aligned:not(.offer) main :is(.section,.ssa-discovery-section,.ssa-related){padding-block:var(--ssa-space)}
body.reference-aligned:not(.offer) main :is(.section.soft,.section.lav,.ssa-discovery-section,.ssa-related){background:var(--ssa-soft)}
body.reference-aligned:not(.offer) main .section.lav{background:linear-gradient(115deg,#f5f7ff,#f8f5ff 70%,#fff4fa)}
body.reference-aligned:not(.offer) main :is(.dark-section,.automation-banner,.page-hero){background:var(--ssa-dark);color:#fff}
body.reference-aligned:not(.offer) main .page-hero{padding-block:clamp(56px,6vw,94px)}
body.reference-aligned:not(.offer) main .page-hero h1{font-size:clamp(34px,4.25vw,62px);line-height:1.12;letter-spacing:-.045em;margin:14px 0 16px}
body.reference-aligned:not(.offer) main .page-hero p{color:#e2e8fb;line-height:1.75;font-size:clamp(15px,1.3vw,17px)}
body.reference-aligned:not(.offer) main .page-hero .btn{margin-top:24px}
body.reference-aligned:not(.offer) main .ssa-solution-hero-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(24px,4vw,56px)}
body.reference-aligned:not(.offer) main .ssa-hero-showcase{position:relative;min-width:0;max-width:100%;border:1px solid #becbff69;border-radius:var(--ssa-radius);padding:8px;background:#ffffff13;box-shadow:0 20px 54px #0004;overflow:hidden}
body.reference-aligned:not(.offer) main .ssa-hero-showcase img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
body.reference-aligned:not(.offer) main .ssa-hero-showcase figcaption{font-size:12px;color:#e1e6fb;padding:8px 5px 3px;line-height:1.5}
body.reference-aligned:not(.offer) main .ssa-hero-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.reference-aligned:not(.offer) main .ssa-hero-mosaic img{aspect-ratio:16/10}
body.reference-aligned:not(.offer) main .ssa-hero-art{margin:0;padding:10px;max-width:100%;border:1px solid #becbff69;border-radius:var(--ssa-radius);background:#ffffff0d;box-shadow:0 20px 54px #0003}
body.reference-aligned:not(.offer) main .ssa-hero-art .ssa-hero-orbit{display:none}
body.reference-aligned:not(.offer) main .ssa-hero-art .ssa-flow-window{max-width:100%;margin:0;transform:none;box-shadow:none;border:1px solid #ffffff29;border-radius:12px}
body.reference-aligned:not(.offer) main .ssa-hero-art:has(.ssa-hero-picture) .ssa-flow-window{margin-top:10px}
body.reference-aligned:not(.offer) main .ssa-hero-art .ssa-hero-picture{box-shadow:none;border-radius:12px}
body.reference-aligned:not(.offer) main .ssa-hero-art .ssa-flow-badge{position:static;display:table;margin:8px 0 0;background:transparent;box-shadow:none;color:#dbe3ff;padding:3px 5px;font-weight:650;font-size:12px}
/* Typography and section rhythm: one hierarchy for cards, lists and editorial headings. */
body.reference-aligned:not(.offer) main :is(.section-head,.ssa-section-heading){margin-bottom:clamp(22px,3vw,34px)}
body.reference-aligned:not(.offer) main :is(.section-head,.ssa-section-heading,.intro-grid,.price-cols,.automation-cols,.faq-cols) h2{font-size:var(--ssa-title);line-height:1.16;letter-spacing:-.035em}
body.reference-aligned:not(.offer) main .section-head p{font-size:15px;line-height:1.7}
body.reference-aligned:not(.offer) main :is(.section-head,.ssa-section-heading) .eyebrow{letter-spacing:.13em}
body.reference-aligned:not(.offer) main .content-text{max-width:880px}
body.reference-aligned:not(.offer) main .content-text h2{font-size:clamp(25px,2.4vw,32px);line-height:1.25}
body.reference-aligned:not(.offer) main .content-text h3{font-size:clamp(18px,1.7vw,22px);line-height:1.3}
body.reference-aligned:not(.offer) main .content-text :is(p,li){font-size:16px;line-height:1.8}
/* Action hierarchy: primary enquiry, secondary navigation, inverse on dark surfaces, editorial links. */
body.reference-aligned:not(.offer) :is(.header,.mobile-menu,main) .btn,
body.reference-aligned:not(.offer) main .ssa-action-panel>a,
body.reference-aligned:not(.offer) main .ssa-client-links>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 18px;border:1px solid transparent;border-radius:var(--ssa-button-radius);font-size:14px;font-weight:750;line-height:1.35;text-align:center;text-decoration:none;max-width:100%;white-space:normal;overflow-wrap:anywhere;transition:background-color .18s,border-color .18s,box-shadow .18s}
body.reference-aligned:not(.offer) :is(.header,.mobile-menu,main) .btn-primary,
body.reference-aligned:not(.offer) main .btn-blue[href="/contact"],
body.reference-aligned:not(.offer) main .ssa-action-panel>a.ssa-action-primary{color:white;background:var(--ssa-accent);border-color:var(--ssa-accent);box-shadow:0 6px 18px #c8107824}
body.reference-aligned:not(.offer) :is(.header,.mobile-menu,main) .btn-primary:hover,
body.reference-aligned:not(.offer) main .btn-blue[href="/contact"]:hover,
body.reference-aligned:not(.offer) main .ssa-action-panel>a.ssa-action-primary:hover{color:white;background:var(--ssa-accent-hover);border-color:var(--ssa-accent-hover);transform:none}
body.reference-aligned:not(.offer) main :is(.btn-outline,.btn-blue:not([href="/contact"])),
body.reference-aligned:not(.offer) main .ssa-action-panel>a:not(.ssa-action-primary),
body.reference-aligned:not(.offer) main .ssa-client-links>a{color:var(--ssa-blue);background:#fff;border-color:#b9c4e4;box-shadow:none}
body.reference-aligned:not(.offer) main :is(.btn-outline,.btn-blue:not([href="/contact"])),
body.reference-aligned:not(.offer) main .ssa-action-panel>a:not(.ssa-action-primary){text-decoration:none}
body.reference-aligned:not(.offer) main :is(.btn-outline,.btn-blue:not([href="/contact"])):hover,
body.reference-aligned:not(.offer) main .ssa-action-panel>a:not(.ssa-action-primary):hover,
body.reference-aligned:not(.offer) main .ssa-client-links>a:hover{background:var(--ssa-soft);border-color:var(--ssa-blue);color:var(--ssa-blue);transform:none;text-decoration:none}
body.reference-aligned:not(.offer) main .btn-light{background:white;border-color:white;color:var(--ssa-blue);box-shadow:none}
body.reference-aligned:not(.offer) main .btn-light:hover{background:#eef1ff;border-color:#eef1ff;transform:none}
body.reference-aligned:not(.offer) main .btn-line{color:white;border-color:#c0caff;background:#ffffff10}
body.reference-aligned:not(.offer) main .btn-line:hover{background:#ffffff24;transform:none}
body.reference-aligned:not(.offer) .header .btn-sm{min-height:42px;padding:10px 16px;font-size:13px}
body.reference-aligned:not(.offer) main .ssa-action-panel{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:var(--ssa-soft);border:1px solid var(--ssa-line);border-radius:var(--ssa-radius);padding:18px;margin:24px 0}
body.reference-aligned:not(.offer) main .ssa-client-links{gap:10px}
body.reference-aligned:not(.offer) main :is(.content-text,.ssa-detail-card,.ssa-editorial) :is(p,li) a:not(.btn):not(.ssa-discovery-card){color:var(--ssa-blue);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;font-weight:600}
body.reference-aligned:not(.offer) main :is(.content-text,.ssa-detail-card,.ssa-editorial) :is(p,li) a:not(.btn):hover{color:var(--ssa-accent)}
/* Shared card shell. Keep actual portfolio screens, cards and concept imagery intact. */
body.reference-aligned:not(.offer) main :is(.svc,.info-card,.project,.article,.ssa-discovery-card,.ssa-client-card,.ssa-detail-card,.price-card){border:1px solid var(--ssa-line);border-radius:var(--ssa-radius);background:white;box-shadow:var(--ssa-shadow);min-width:0}
body.reference-aligned:not(.offer) main :is(.svc,.info-card,.ssa-discovery-card,.ssa-detail-card){padding:var(--ssa-pad)}
body.reference-aligned:not(.offer) main .svc.featured{color:var(--ssa-ink);background:white}
body.reference-aligned:not(.offer) main :is(.svc,.info-card,.ssa-discovery-card,.ssa-client-card,.ssa-detail-card,.article,.project) h3{font-size:var(--ssa-card-title);letter-spacing:-.025em;line-height:1.3;color:var(--ssa-ink)}
body.reference-aligned:not(.offer) main :is(.svc,.info-card,.ssa-discovery-card,.ssa-client-card,.ssa-detail-card,.article,.project) p{font-size:14px;line-height:1.7;color:var(--ssa-muted)}
body.reference-aligned:not(.offer) main :is(.services,.cards3,.ssa-discovery-grid,.ssa-client-grid,.project-grid,.articles,.ssa-detail-grid){gap:var(--ssa-gap)}
body.reference-aligned:not(.offer) main .ssa-detail-card:last-child{background:white;border-top:1px solid var(--ssa-line)}
body.reference-aligned:not(.offer) main :is(.svc,.ssa-image-card){padding:14px!important}
body.reference-aligned:not(.offer) main :is(.svc,.ssa-image-card) :is(.ssa-visual-media,.ssa-discovery-art){border-radius:10px;margin:0 0 16px;aspect-ratio:16/9}
body.reference-aligned:not(.offer) main .svc .arrow,
body.reference-aligned:not(.offer) main .ssa-card-action,
body.reference-aligned:not(.offer) main .ssa-capability-copy>a:not(.btn),
body.reference-aligned:not(.offer) main .info-card>a:not(.btn),
body.reference-aligned:not(.offer) main .article-copy>a:not(.btn){font-size:14px;font-weight:750;color:var(--ssa-accent);text-decoration:none;line-height:1.35;min-height:44px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--ssa-line);padding-top:12px;margin-top:auto}
body.reference-aligned:not(.offer) main .info-card>a:not(.btn),
body.reference-aligned:not(.offer) main .ssa-capability-copy>a:not(.btn),
body.reference-aligned:not(.offer) main .article-copy>a:not(.btn){margin-top:16px}
body.reference-aligned:not(.offer) main .ssa-discovery-card .ssa-card-icon{background:#f0f2ff;color:var(--ssa-blue)}
body.reference-aligned:not(.offer) main .ssa-discovery-card .ssa-card-kicker{color:var(--ssa-blue);background:#f0f2ff}
body.reference-aligned:not(.offer) main :is(.ssa-discovery-card,.svc,.project,.service-anchor):hover{border-color:#ba83b1;box-shadow:0 12px 28px #14203f13;transform:translateY(-2px)}
body.reference-aligned:not(.offer) main .ssa-capability-copy{padding:var(--ssa-pad)}
body.reference-aligned:not(.offer) main .article-image{background:linear-gradient(135deg,#e8edff,#f8e1f0);color:var(--ssa-blue)}
body.reference-aligned:not(.offer) main .ssa-client-copy{padding:var(--ssa-pad)}
body.reference-aligned:not(.offer) main .ssa-client-visual{border-radius:var(--ssa-radius)}
body.reference-aligned:not(.offer) main .ssa-client-card .ssa-client-visual{border-radius:0}
body.reference-aligned:not(.offer) main :is(.info-box:not(.ssa-action-panel),.ssa-note){border-radius:var(--ssa-radius);background:var(--ssa-soft);border:1px solid var(--ssa-line);border-left:3px solid var(--ssa-brand-pink);padding:var(--ssa-pad)}
/* Wayfinding: compact link cards have a deliberately distinct role from enquiry buttons. */
body.reference-aligned:not(.offer) main .ssa-related{border-top:1px solid var(--ssa-line)}
body.reference-aligned:not(.offer) main .ssa-related h2{font-size:clamp(26px,2.6vw,36px)}
body.reference-aligned:not(.offer) main .ssa-related ul{gap:12px}
body.reference-aligned:not(.offer) main .ssa-related li a{border:1px solid var(--ssa-line);border-radius:var(--ssa-button-radius);min-height:48px;padding:13px 16px;font-size:14px;line-height:1.4;color:var(--ssa-blue);background:white;box-shadow:var(--ssa-shadow);text-decoration:none}
body.reference-aligned:not(.offer) main .ssa-related li a:hover{border-color:var(--ssa-accent);color:var(--ssa-accent)}
body.reference-aligned:not(.offer) main .ssa-jump-nav a{border-radius:var(--ssa-button-radius);min-height:44px;border-color:var(--ssa-line);color:var(--ssa-blue);background:white}
body.reference-aligned:not(.offer) main .ssa-jump-nav a:hover{background:var(--ssa-soft);border-color:var(--ssa-blue);color:var(--ssa-blue)}
body.reference-aligned:not(.offer) main .ssa-jump-nav{margin-top:0}
body.reference-aligned:not(.offer) main .cta-banner{background:var(--ssa-cta);padding-block:clamp(34px,4.5vw,60px)}
body.reference-aligned:not(.offer) main .cta-banner h2{font-size:clamp(28px,3vw,42px);line-height:1.2}
body.reference-aligned:not(.offer) main .cta-banner p{font-size:15px;line-height:1.65}
body.reference-aligned:not(.offer) main .cta-banner .btn-light{min-width:190px}
body.reference-aligned:not(.offer) main .benefit{border-radius:var(--ssa-radius);border:1px solid #d4dbff30;background:#ffffff0d}
body.reference-aligned:not(.offer) main .ssa-process-graphic{border-radius:var(--ssa-radius);background:linear-gradient(125deg,#f4f6ff,#fff5fb);border-color:var(--ssa-line)}
body.reference-aligned:not(.offer) main .ssa-process-track>li{border-radius:var(--ssa-radius);border-color:var(--ssa-line);box-shadow:var(--ssa-shadow)}
body.reference-aligned:not(.offer) main .ssa-process-track h3{font-size:var(--ssa-card-title)}
body.reference-aligned:not(.offer) main .faq{border-color:var(--ssa-line)}
body.reference-aligned:not(.offer) main .faq button{min-height:52px;font-size:15px}
body.reference-aligned:not(.offer) .footer{background:var(--ssa-navy)}
body.reference-aligned:not(.offer) .footer a:hover{color:#ffb8e0}
@media(max-width:900px){body.reference-aligned:not(.offer) main .ssa-solution-hero-grid{grid-template-columns:1fr;gap:24px}body.reference-aligned:not(.offer) main :is(.ssa-hero-showcase,.ssa-hero-art){width:min(100%,560px);margin-inline:auto}}
@media(max-width:600px){body.reference-aligned:not(.offer){--ssa-space:36px;--ssa-gap:14px;--ssa-pad:18px;--ssa-radius:14px;--ssa-card-title:18px}body.reference-aligned:not(.offer) main .page-hero{padding-block:40px}body.reference-aligned:not(.offer) main .page-hero h1{font-size:clamp(31px,8.8vw,42px)}body.reference-aligned:not(.offer) main .cta-banner .btn-light{min-width:0;width:100%}body.reference-aligned:not(.offer) main .ssa-action-panel{padding:12px;gap:10px;align-items:stretch}body.reference-aligned:not(.offer) main .ssa-action-panel>a{width:100%}body.reference-aligned:not(.offer) main .ssa-client-links>a{flex:1 1 140px}body.reference-aligned:not(.offer) main .content-text :is(p,li){font-size:15px;line-height:1.75}body.reference-aligned:not(.offer) main .ssa-discovery-card{padding:16px}body.reference-aligned:not(.offer) main .ssa-card-action{min-height:40px}body.reference-aligned:not(.offer) main .ssa-related li a{padding:11px 13px}body.reference-aligned:not(.offer) main .ssa-hero-art{padding:8px}body.reference-aligned:not(.offer) main .ssa-process-track h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){body.reference-aligned:not(.offer) :is(.btn,.svc,.project,.ssa-discovery-card,.service-anchor){transition:none!important;transform:none!important}}
