/* Wansyne corporate design system — shared navigation and inner pages. */
:root { --ws-night:#090b12; --ws-ink:#171b27; --ws-paper:#f2efe9; --ws-muted:#555d6c; --ws-coral:#ff6547; --ws-line:#c9c6c0; }
body:has([data-page]) { background:var(--ws-paper); color:var(--ws-ink); }
body .site-header { background:#090b12; border:0; color:#fff; }
body:not(:has(.signal-home)) .site-header { position:sticky; }
body .site-header__inner { width:min(1440px,calc(100% - 3rem)); min-height:5.65rem; }
body .site-header .wansyne-logo--header { filter:brightness(0) invert(1); }
body .site-header .nav { gap:.55rem; }
body .site-header .nav > a:not(.button) { padding:.45rem .55rem; color:#f5f3f0; font-size:.76rem; letter-spacing:.03em; text-transform:uppercase; }
body .site-header .nav > a:not(.button):hover, body .site-header .nav > a[aria-current="page"] { color:#ff9d8b; }
body .site-header .nav-toggle { background:transparent; border-color:#81818a; color:#fff; }
body .site-header .lang-switch select { color:#fff; border-color:#737581; background:#171b27; }
body .site-header .lang-switch option { color:#171b27; background:#fff; }
body .button { background:var(--ws-coral); color:#fff; border:1px solid var(--ws-coral); border-radius:999px; font-weight:600; }
body .button:hover { background:#e74f34; border-color:#e74f34; color:#fff; }
body .button--ghost, body .button--wire { background:transparent; color:var(--ws-ink); border-color:#8c919c; }
body .button--ghost:hover, body .button--wire:hover { background:var(--ws-ink); border-color:var(--ws-ink); color:#fff; }
body .section--ink .button--ghost, body .page-hero .button--ghost, body .signal-close .button--wire { color:#fff; border-color:#aaaab5; }
body .section--ink .button--ghost:hover, body .page-hero .button--ghost:hover, body .signal-close .button--wire:hover { background:#fff; color:#171b27; }
body:not(:has(.signal-home)) main { background:var(--ws-paper); }
body:not(:has(.signal-home)) main .container { width:min(1280px,calc(100% - 3rem)); }
body:not(:has(.signal-home)) .page-hero { position:relative; isolation:isolate; overflow:hidden; padding:clamp(4.5rem,8vw,7.5rem) 0; background:#10101b url('../img/insight-flow-hero.png') center 54% / cover no-repeat; color:#fff; border:0; }
body:not(:has(.signal-home)) .page-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(7,9,17,.97) 0%,rgba(9,10,19,.88) 48%,rgba(9,10,19,.48) 100%); }
body:not(:has(.signal-home)) .page-hero h1 { max-width:18ch; font-size:clamp(2.7rem,5.5vw,5.6rem); line-height:1.04; letter-spacing:-.055em; color:white; }
body:not(:has(.signal-home)) .page-hero .eyebrow { color:#ff9c89; letter-spacing:.13em; }
body:not(:has(.signal-home)) .page-hero .lede, body:not(:has(.signal-home)) .page-hero p:not(.eyebrow) { color:#e0dfe5; max-width:45rem; }
body:not(:has(.signal-home)) .page-hero a:not(.button) { color:#ffb2a1; }
body:not(:has(.signal-home)) .section { padding:clamp(4rem,7vw,7rem) 0; background:var(--ws-paper); border-color:var(--ws-line); }
body:not(:has(.signal-home)) .section:nth-of-type(odd):not(.section--ink) { background:#e5e9eb; }
body:not(:has(.signal-home)) .section--ink { background:var(--ws-night); color:#d7d9e0; }
body:not(:has(.signal-home)) .section--ink h1, body:not(:has(.signal-home)) .section--ink h2, body:not(:has(.signal-home)) .section--ink h3 { color:#fff; }
body:not(:has(.signal-home)) .section--ink .eyebrow { color:#ff9c89; }
body:not(:has(.signal-home)) main h2 { font-size:clamp(1.7rem,2.8vw,3rem); line-height:1.13; letter-spacing:-.04em; }
body:not(:has(.signal-home)) main h3 { letter-spacing:-.025em; }
body:not(:has(.signal-home)) main .eyebrow { color:#b83d28; letter-spacing:.11em; font-size:.72rem; }
body:not(:has(.signal-home)) .section--ink .eyebrow { color:#ff9c89; }
body:not(:has(.signal-home)) .feature-list, body:not(:has(.signal-home)) .playbook__card, body:not(:has(.signal-home)) .form-card, body:not(:has(.signal-home)) .table-wrap { border-color:#c9c6c0; background:#faf9f6; }
body:not(:has(.signal-home)) .section--ink .feature-list { background:#f2efe9; color:#171b27; }
body:not(:has(.signal-home)) .section--ink .playbook__card { background:#1a2030; border-color:#444a5b; }
body:not(:has(.signal-home)) .section--ink .playbook__card h3 { color:#fff; }
body:not(:has(.signal-home)) .section--ink .playbook__card p { color:#d0d4de; }
body:not(:has(.signal-home)) table th { background:#e2e6e8; }
body:not(:has(.signal-home)) .eq { max-width:64rem; padding:clamp(3rem,6vw,6rem) 1.5rem; }
body:not(:has(.signal-home)) .eq h1 { font-size:clamp(2.6rem,5vw,4.5rem); line-height:1.08; letter-spacing:-.055em; }
body:not(:has(.signal-home)) .eq h2 { margin-top:3rem; padding-bottom:.65rem; border-bottom:1px solid #aaa; }
body:not(:has(.signal-home)) .eq ol.qa > li { border-color:#c9c6c0; padding:1.25rem 0; }
body:not(:has(.signal-home)) .eq .a { line-height:1.7; }
/* Footer uses the same layout on the landing page and every linked page. */
body .site-footer, body:has(.signal-home) .site-footer { padding:4.5rem 0 1.5rem; background:#e6e3dc; color:#242631; border:0; }
body .site-footer > .container, body:has(.signal-home) .site-footer > .container { width:min(1280px,calc(100% - 3rem)); }
body .site-footer .footer-grid, body:has(.signal-home) .footer-grid { display:grid; grid-template-columns:1fr 1.25fr .85fr; gap:0 3rem; margin:0; }
body .site-footer .footer-col, body:has(.signal-home) .footer-col { min-width:0; padding:0 0 3rem; }
body .site-footer .footer-col h3, body:has(.signal-home) .footer-col h3 { color:#a8412e; font-size:.72rem; letter-spacing:.12em; margin:0 0 1.3rem; }
body .site-footer .footer-col ul, body:has(.signal-home) .footer-col ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem 1.2rem; list-style:none; margin:0; padding:0; }
body .site-footer .footer-col:last-child ul, body:has(.signal-home) .footer-col:last-child ul { grid-template-columns:1fr; }
body .site-footer .footer-col li + li { margin:0; }
body .site-footer .footer-col a, body:has(.signal-home) .footer-col a { color:#252b37; font-size:.94rem; line-height:1.45; text-decoration:none; overflow-wrap:anywhere; }
body .site-footer .footer-col a:hover, body .site-footer .footer-col a:focus-visible { color:#bd482f; }
body .site-footer .footer-brand, body:has(.signal-home) .footer-brand { order:4; grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr 1fr; grid-template-rows:auto auto; gap:.8rem 3rem; padding:3rem 0; border-top:1px solid #aaa9a3; border-bottom:0; }
body .site-footer .footer-brand strong, body:has(.signal-home) .footer-brand strong { grid-column:1; grid-row:1 / 3; align-self:start; margin:0; }
body .site-footer .footer-brand img, body:has(.signal-home) .footer-brand img { width:min(100%,220px); filter:brightness(0); }
body .site-footer .footer-brand p, body:has(.signal-home) .footer-brand p { margin:0; color:#555d6c; font-size:.84rem; line-height:1.6; }
body .site-footer .footer-brand p:nth-of-type(1) { grid-column:2; grid-row:1; }
body .site-footer .footer-brand p:nth-of-type(2) { grid-column:3; grid-row:1 / 3; }
body .site-footer .footer-brand p:nth-of-type(3) { grid-column:2; grid-row:2; }
body .site-footer .footer-meta, body:has(.signal-home) .footer-meta { border-top:1px solid #aaa9a3; padding-top:1.4rem; color:#5d6470; }
body .site-footer .footer-copyright, body:has(.signal-home) .footer-copyright { margin:0; font-size:.82rem; line-height:1.5; color:#4a5260; }
body .site-footer .footer-meta__registry, body:has(.signal-home) .footer-meta__registry { font-size:.78rem; color:#696b73; text-align:right; }
.signal-close h2 { max-width:16ch; line-height:1.06; overflow-wrap:normal; }
@media (max-width:900px) {
 body .site-header__inner { min-height:4.7rem; }
 body .site-header .nav { padding:.5rem 0 1.3rem; }
 body .site-header .nav > a:not(.button) { padding:.55rem 0; }
 body .site-footer .footer-grid, body:has(.signal-home) .footer-grid { grid-template-columns:1fr 1fr; gap:0 2rem; }
 body .site-footer .footer-col:last-child { grid-column:1 / -1; }
 body .site-footer .footer-brand, body:has(.signal-home) .footer-brand { grid-template-columns:1fr 1fr; grid-template-rows:auto; }
 body .site-footer .footer-brand strong, body:has(.signal-home) .footer-brand strong { grid-column:1 / -1; grid-row:auto; margin-bottom:1rem; }
 body .site-footer .footer-brand p:nth-of-type(n), body:has(.signal-home) .footer-brand p:nth-of-type(n) { grid-column:auto; grid-row:auto; }
}
@media (max-width:560px) {
 body .site-header__inner, body .site-footer > .container, body:not(:has(.signal-home)) main .container { width:calc(100% - 2rem); }
 body:not(:has(.signal-home)) .page-hero { padding:4rem 0; }
 body:not(:has(.signal-home)) .page-hero h1 { font-size:clamp(2.35rem,11vw,3.5rem); letter-spacing:-.035em; }
 body .site-footer .footer-grid, body:has(.signal-home) .footer-grid { display:grid; grid-template-columns:1fr; gap:0; }
 body .site-footer .footer-col:last-child { grid-column:auto; }
 body .site-footer .footer-brand, body:has(.signal-home) .footer-brand { grid-template-columns:1fr; gap:1rem; }
 body .site-footer .footer-brand strong, body:has(.signal-home) .footer-brand strong { grid-column:auto; }
 .signal-close h2 { font-size:clamp(2.5rem,10vw,4rem); }
}
@media print { body .site-header, body .site-footer { display:none !important; } body:not(:has(.signal-home)) .page-hero { color:#111; background:#fff; } body:not(:has(.signal-home)) .page-hero h1, body:not(:has(.signal-home)) .page-hero .lede { color:#111; } }
body:not(:has(.signal-home)) .page-hero--visual .page-hero__veil { background:linear-gradient(90deg,rgba(7,9,17,.96),rgba(9,10,19,.82) 48%,rgba(9,10,19,.5)); }
/* Compact proportions and a fully visible four-step workflow. */
.signal-home .hero { min-height: min(46rem, 85svh); padding: 7rem 0 2.5rem; }
.signal-home .hero h1 { max-width: 16ch; font-size: clamp(2.8rem, 5.5vw, 5.5rem); line-height: 1.06; letter-spacing: -.05em; }
.signal-home .hero-copy { max-width: 38rem; }
.signal-intro { padding: clamp(4rem, 7vw, 6rem) 0; }
.signal-intro h2, .signal-rail h2, .signal-brief h2, .signal-close h2 { max-width: 20ch; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.12; letter-spacing: -.045em; }
.intro-detail { margin-top: 3rem; }
.detail-number { margin-bottom: 1.5rem; }
.signal-rail { padding: clamp(4rem, 7vw, 6rem) 0 0; }
.signal-rail .rail-head { margin-bottom: 2.5rem; }
.signal-home .rail-window { width: min(1280px, calc(100% - 3rem)); margin: 0 auto; padding: 0; overflow: visible; }
.signal-home .rail-track { width: 100%; max-width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 0 2.5rem; transform: none !important; }
.signal-home .rail-card { width: auto; min-width: 0; min-height: 19rem; padding: 1.5rem; }
.signal-home .rail-card::after { width: 5rem; height: 5rem; right: 1.25rem; top: 3.25rem; }
.signal-home .rail-card h3 { max-width: none; font-size: clamp(1.7rem, 2.2vw, 2.35rem); line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
.signal-home .rail-card p { margin-top: .75rem; font-size: 1rem; line-height: 1.6; }
.signal-brief { padding: clamp(4rem, 7vw, 6rem) 0; }
.signal-close { min-height: 0; padding: clamp(5rem, 8vw, 7rem) 0; }
.signal-close .close-meta { margin-top: 2.5rem; }
body:not(:has(.signal-home)) .page-hero { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
body:not(:has(.signal-home)) .page-hero h1 { max-width: 22ch; font-size: clamp(2.4rem, 4.2vw, 4rem); line-height: 1.1; }
body:not(:has(.signal-home)) .section { padding: clamp(3.5rem, 5vw, 5rem) 0; }
body:not(:has(.signal-home)) main h2 { font-size: clamp(1.6rem, 2.2vw, 2.4rem); }
body:not(:has(.signal-home)) .eq h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); }
@media (max-width: 900px) {
 .signal-home .hero { min-height: 0; padding: 5rem 0 3rem; }
 .signal-home .rail-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .signal-home .rail-card { min-height: 16rem; border-bottom: 1px solid rgba(255,255,255,.17); }
}
@media (max-width: 600px) {
 .signal-home .hero h1 { font-size: clamp(2.6rem, 10vw, 3.7rem); }
 .signal-home .rail-window { width: calc(100% - 2rem); }
 .signal-home .rail-track { grid-template-columns: 1fr; }
 .signal-home .rail-card { min-height: 0; padding: 1.5rem 1rem; gap: 2.5rem; border-right: 1px solid rgba(255,255,255,.17); }
 .signal-home .rail-card::after { width: 3.5rem; height: 3.5rem; right: 1.25rem; top: 1rem; }
 .signal-home .rail-card h3 { font-size: 1.75rem; }
}
/* Keep footer navigation compact and consistent on every page. */
body .site-footer .footer-col a,
body:has(.signal-home) .site-footer .footer-col a,
body:has(.signal-home) .site-footer .footer-col:last-child a { font-size: .875rem; }

/* About: editorial layout aligned with the corporate homepage. */
body[data-page="about"] .about-hero { padding: clamp(4rem, 7vw, 6.5rem) 0; background-position: center; }
body[data-page="about"] .about-hero__grid { display:grid; grid-template-columns:minmax(0, 1fr) minmax(210px, .38fr); gap:clamp(3rem,8vw,8rem); align-items:end; }
body[data-page="about"] .about-hero__copy h1 { max-width:14ch; margin:.35rem 0 1rem; }
body[data-page="about"] .about-hero__copy .lede { max-width:40rem; }
body[data-page="about"] .about-hero__identity { display:grid; gap:.45rem; padding-top:1.1rem; border-top:1px solid rgba(255,255,255,.4); color:#d7d9e2; font-size:.8rem; letter-spacing:.08em; }
body[data-page="about"] .about-hero__identity strong { color:#fff; font-size:1.15rem; letter-spacing:.04em; }
body[data-page="about"] .about-section .split { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(2.5rem,7vw,7rem); }
body[data-page="about"] .about-overview { background:#f2efe9; }
body[data-page="about"] .about-facts ul { list-style:none; padding:0; margin:1.5rem 0 1rem; border-top:1px solid #c9c6c0; }
body[data-page="about"] .about-facts li { padding:.85rem 0; border-bottom:1px solid #c9c6c0; line-height:1.55; }
body[data-page="about"] .about-facts li strong { color:#252936; }
body[data-page="about"] .about-mission { padding:clamp(1.5rem,3vw,2.5rem); background:#e1e7ea; border-top:3px solid #ff6547; }
body[data-page="about"] .about-story { background:#e5e9eb; }
body[data-page="about"] .about-story .split > div { border-top:1px solid #a9afb6; padding-top:1.5rem; }
body[data-page="about"] .about-values .feature-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:#5b5e67; border:1px solid #5b5e67; }
body[data-page="about"] .about-values .feature-list li { padding:1.5rem; background:#171c29; color:#e1e2e8; border:0; }
body[data-page="about"] .about-values .feature-list strong { color:#fff; font-size:1.05rem; }
body[data-page="about"] .about-values .feature-list + p { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.75rem; }
@media (max-width:900px) { body[data-page="about"] .about-hero__grid, body[data-page="about"] .about-section .split { grid-template-columns:1fr; gap:2.5rem; } body[data-page="about"] .about-hero__identity { max-width:25rem; } }
@media (max-width:600px) { body[data-page="about"] .about-values .feature-list { grid-template-columns:1fr; } body[data-page="about"] .about-mission { padding:1.5rem; } }
