/* V6: Production-reference Siyatech typography, four-column footer and audited contrast. */
:root{--sy-v6-ink:#142b3a;--sy-v6-sub:#365160;--sy-v6-paper:#fff;--sy-v6-dark:#060d1b}
.sy-header{position:sticky;top:0;z-index:100;background:rgba(6,13,27,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(166,193,245,.16)}
.sy-shell{width:min(1500px,calc(100% - 72px));margin-inline:auto}
.sy-header .sy-nav{min-height:82px;gap:19px;flex-wrap:nowrap}
.sy-header .sy-brand img{height:56px;max-width:55px;width:auto}
.sy-header .sy-wordmark{font-size:18px;letter-spacing:-.5px;font-weight:700}
.sy-header .sy-wordmark small{font-size:9px;letter-spacing:1.65px;font-weight:600}
.sy-header .sy-navlinks{gap:0;margin-left:auto;min-width:0}
.sy-header .sy-navlinks a{font-family:'DM Sans',Arial,sans-serif;font-size:13.5px;font-weight:600;padding:12px 9px;color:#b9c8df!important}
.sy-header .sy-navlinks a:hover,.sy-header .sy-navlinks a[aria-current="page"]{color:#fff!important}
.sy-header .sy-talk{font-size:13px;padding:12px 18px;font-weight:700}
.sy-header .sy-menu{order:4}
.sy-footer{background:#040a14;padding:75px 0 25px;border-top:1px solid rgba(166,193,245,.16)}
.sy-footer .sy-footgrid{grid-template-columns:minmax(260px,1.45fr) minmax(160px,1fr) minmax(175px,1fr) minmax(135px,.7fr);gap:clamp(24px,3.2vw,65px)}
.sy-footer .sy-footgrid h3{font-size:16px;margin:0 0 22px;color:#fff}
.sy-footer .sy-footgrid a:not(.sy-brand){font-size:13px;margin-bottom:13px;color:#9db0ca!important}
.sy-footer .sy-footgrid a:not(.sy-brand):hover{color:#5fe8da!important}
.sy-footer .sy-footgrid p{font-size:13px;max-width:350px;color:#a6b6d1;line-height:1.75}
.sy-footer .sy-brand{display:flex;margin-bottom:10px}
.sy-footer .sy-brand img{height:55px;max-width:55px}
.sy-footer .sy-wordmark{font-size:18px}
.sy-footer .sy-wordmark small{font-size:9px}
.sy-footer .sy-social{display:flex!important;align-items:center;gap:10px}
.sy-footer .sy-social svg{flex:none;color:#a6b6d1}
.sy-footer .sy-footbottom{margin-top:55px;padding-top:25px}
/* Do not let global dark-body styles leak into white or pale content containers. */
body.sy-studio :is(.studio-panel,.studio-card,.studio-option,.studio-result,.studio-step,.studio-tool,.studio-tool-output,.studio-compare-wrap,.showcase-info){color:var(--sy-v6-ink)}
body.sy-studio :is(.studio-panel,.studio-card,.studio-option,.studio-result,.studio-step,.studio-tool,.studio-tool-output,.studio-compare-wrap,.showcase-info) :is(h1,h2,h3,h4,h5,h6,p,li,span,label,small,dd,dt,strong){color:var(--sy-v6-ink)}
body.sy-studio :is(.studio-panel,.studio-card,.studio-option,.studio-result,.studio-step,.studio-tool,.studio-tool-output,.studio-compare-wrap,.showcase-info) :is(p,small,li,dd){color:var(--sy-v6-sub)}
body.sy-studio .studio-compare th,body.sy-studio .studio-compare th *{color:#fff!important}
body.sy-studio .studio-compare td,body.sy-studio .studio-compare td *{color:#142b3a}
body.sy-studio .studio-compare tbody tr:nth-child(even){background:#f5f9fa}
body.sy-studio .studio-step{background:#fff;color:#142b3a}
body.sy-studio .studio-step strong{color:#086e80}
body.sy-studio .studio-note,body.sy-studio .studio-note *{color:#214653}
body.sy-studio .studio-tool-output,body.sy-studio .studio-tool-output *{color:#16363e}
body.sy-studio .studio-tag{color:#0b5864!important}
body.sy-studio .studio-option:has(input:checked){background:#e7f9fa}
body.sy-studio .studio-section[style*="background:#eaf2f4"],body.sy-studio .studio-section[style*="background: #eaf2f4"]{color:#142b3a}
body.sy-studio .studio-section[style*="background:#eaf2f4"] :is(h1,h2,h3,h4,p,li,span),body.sy-studio .studio-section[style*="background: #eaf2f4"] :is(h1,h2,h3,h4,p,li,span){color:#142b3a}
body.sy-studio .studio-section[style*="background:#eaf2f4"] p{color:#365160}
body.sy-studio .studio-section[style*="background:#eaf2f4"] .studio-step strong{color:#086e80}
body.sy-studio .showcase-info strong,body.sy-studio .showcase-info span[style*="color:#8fe8e8"]{color:#086e80!important}
body.sy-studio .studio-card a,body.sy-studio .studio-panel a{color:#086e80}
body.sy-studio .studio-card .studio-tag{color:#0b5864}
body.sy-studio :is(.studio-panel,.studio-card,.studio-step,.studio-tool,.studio-result) a:not(.btn):not(.studio-primary):not(.studio-outline){color:#086e80}
body.sy-studio :is(.studio-panel,.studio-card,.studio-step,.studio-tool,.studio-result) a:not(.btn):hover{text-decoration:underline}
body.sy-studio :is(.studio-panel,.studio-card,.studio-step,.studio-tool) :is(input,select,textarea){color:#142b3a;background:#fff;border-color:#9aafbd}
body.sy-studio :is(.studio-panel,.studio-card,.studio-step,.studio-tool) :is(input,select,textarea)::placeholder{color:#4e6673}
/* Dark-background content remains light. */
body.sy-studio .studio-hero :is(h1,h2,h3),body.sy-studio .showcase-hero :is(h1,h2,h3){color:#f3f7ff}
body.sy-studio .studio-hero p,body.sy-studio .showcase-hero p{color:#c5d6e8}
/* Distinct industry demos keep their own themes, but shared footer never inherits their palette. */
body.sy-demo .sy-footer,body.sy-demo .sy-footer *{font-family:'DM Sans',Arial,sans-serif}
body.sy-demo .sy-footer .sy-wordmark,body.sy-demo .sy-footer h3{font-family:'Space Grotesk',Arial,sans-serif}
body.sy-demo .sy-footer h3,body.sy-demo .sy-footer .sy-wordmark{color:#f3f7ff}
body.sy-demo .sy-footer p,body.sy-demo .sy-footer a:not(.sy-brand){color:#a6b6d1}
/* Desktop reference layout, collapsible accessible menu below fit breakpoint. */
@media(max-width:1380px){.sy-header .sy-menu{display:block;margin-left:auto}.sy-header .sy-nav{flex-wrap:wrap;justify-content:space-between;gap:12px}.sy-header .sy-navlinks{display:none;order:5;width:100%;margin:0;flex-direction:column;align-items:stretch;padding:10px 0 20px}.sy-header .sy-navlinks.open{display:flex}.sy-header .sy-navlinks a{font-size:14px;padding:12px 14px}.sy-header .sy-talk{margin-left:auto}.sy-header .sy-menu{order:4}.sy-footer .sy-footgrid{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:26px}}
@media(max-width:900px){.sy-footer .sy-footgrid{grid-template-columns:1fr 1fr;gap:32px}.sy-footer .sy-footgrid>div:first-child{grid-column:1/-1}}
@media(max-width:600px){.sy-shell{width:calc(100% - 30px)}.sy-header .sy-nav{min-height:72px}.sy-header .sy-brand img{height:44px}.sy-header .sy-wordmark{font-size:14px}.sy-header .sy-wordmark small{font-size:6.8px;letter-spacing:1px}.sy-header .sy-talk{font-size:11px;padding:8px 10px}.sy-header .sy-menu{width:40px;height:40px}.sy-footer .sy-footgrid{grid-template-columns:1fr}.sy-footer .sy-footgrid>div:first-child{grid-column:auto}.sy-footer{padding-top:50px}}
/* Gallery demo cards use dark #111f2b, not white: restore readable light text. */
body.sy-studio .showcase-card .showcase-info{background:#111f2b;color:#f3f7ff}
body.sy-studio .showcase-card .showcase-info h3{color:#f3f7ff}
body.sy-studio .showcase-card .showcase-info p{color:#bfd0e0}
body.sy-studio .showcase-card .showcase-info strong,
body.sy-studio .showcase-card .showcase-info span[style*="color:#8fe8e8"]{color:#8fe8e8!important}
/* Light industry sections explicitly keep dark ink; dark hero sections remain unchanged. */
body.sy-demo :is(.estate,.vertex,.nexora) section[style*="background:#ea"] :is(h2,h3,h4,p,li,span),
body.sy-demo :is(.estate,.vertex,.nexora) section[style*="background:#ec"] :is(h2,h3,h4,p,li,span){color:#1e303b}
