/* V13: editorial hierarchy / Refero rhythm / action-first CTA / readable navigation */
:root{--ink:#153a35;--text:#3d514b;--subtle:#69776e;--paper:#f8f7f1;--line:#d7ddd2;--action:#1d5042;--focus:#a96b35;--radius:8px}
body{font-size:17px;line-height:1.7;color:var(--ink);background:var(--paper);font-synthesis:none}
::selection{background:#c9dece;color:#16372e}p,li{color:var(--text)}p{text-wrap:pretty}h1,h2,h3{font-weight:400;text-wrap:balance}h1{line-height:1.06;letter-spacing:-.045em}h2{line-height:1.16;letter-spacing:-.028em}h3{line-height:1.3;letter-spacing:-.018em}
body>header{max-width:1440px;margin:16px auto 0;padding:15px 25px;gap:24px;background:#fffef9f5;border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 24px #153a3505}
body>header nav{gap:22px;font-size:14px;line-height:1.3}body>header nav a{padding:13px 0;border-bottom:2px solid transparent}body>header nav a[aria-current=page]{border-color:var(--action);color:var(--action)}body>header nav a:hover{color:var(--action);border-color:#aec7b7}
body>header .brand{font-size:26px;letter-spacing:-1px;flex-shrink:0}#lang{padding:11px 9px;font-size:13px;border-left:1px solid var(--line)}
.login,.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px!important;border:1px solid var(--action);border-radius:6px!important;background:var(--action);color:#fffef8;font:400 14px/1.4 Inter,Arial,sans-serif!important;letter-spacing:0;text-decoration:none;box-shadow:0 2px 2px #14362d0a;transition:background .16s,box-shadow .16s,transform .16s}
.login:hover,.button:hover{background:#123c31;color:#fff;box-shadow:0 5px 14px #153a351a;transform:translateY(-1px)}.button:active,.login:active{transform:translateY(0)}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.text-link,.actions>a:not(.button),#capability-cards a{font-size:14px!important;line-height:1.5;display:inline-flex;align-items:center;width:fit-content;color:var(--action);text-decoration:none;border:0;border-bottom:1px solid #93ad9b;padding:7px 0;min-height:40px}
.text-link:hover,.actions>a:not(.button):hover,#capability-cards a:hover{color:#102e25;border-color:#102e25}.eyebrow{font-size:11px!important;line-height:1.5;letter-spacing:.13em!important;color:#64796c}.breadcrumb{font-size:13px;padding-top:30px}.breadcrumb a{color:var(--subtle)}
body[data-page=home] .hero h1{font-size:clamp(60px,7.5vw,108px);line-height:1.03;letter-spacing:-.055em;margin:22px 0 0}body[data-page=home] .hero h1 em{color:#6d8979}body[data-page=home] .hero{padding-top:58px;gap:36px}.hero .intro{font-size:21px;line-height:1.6;max-width:690px;color:var(--text)}.hero .fine{font-size:13px;color:var(--subtle)}.hero .actions{gap:26px}.hero-copy{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);align-items:start;gap:12px 50px;max-width:none}.hero-copy .intro{margin-top:0;grid-row:span 2}.hero-copy .actions{margin:0}.hero-copy .fine{margin:0}.sector-strip{font-size:11px;letter-spacing:.045em;line-height:2.1;padding:24px 5%}
.section-head{margin-bottom:42px}.section-head>p:last-child{font-size:18px!important;line-height:1.65;max-width:68ch}.context-heading{border-radius:10px!important;padding:44px!important;gap:50px}.context-heading h1{font-size:clamp(40px,4.4vw,65px);line-height:1.08;margin:18px 0 24px}.context-heading>img.generated-editorial{border-radius:7px!important}
.home-overview h2{font-size:clamp(38px,4.3vw,62px)}.gateway-grid>a{border:1px solid var(--line)!important;border-radius:8px!important;background:#fffef8!important;padding:30px!important;transition:border-color .18s,transform .18s}.gateway-grid>a:hover{border-color:#769681!important;transform:translateY(-3px)}.gateway-grid h3{font-size:29px!important;margin:26px 0 16px}.gateway-grid p{font-size:16px;line-height:1.65}.gateway-grid>a>span{font-size:13px;color:#697e70}
.complete-design #capability-cards article{padding:36px 0!important;gap:20px 32px;border-bottom:1px solid var(--line)}.complete-design #capability-cards article:nth-child(even){background:transparent!important}.complete-design #capability-cards h3{font-family:Georgia,'Times New Roman',serif;font-size:32px!important;line-height:1.2;margin:0 0 12px}.complete-design #capability-cards p{font-size:17px;line-height:1.7;max-width:66ch}.complete-design #capability-cards img{border-radius:7px!important}.solution-number{font-size:13px;color:#718978}
.editorial-detail>h1{font-size:clamp(44px,5.4vw,76px);line-height:1.08;max-width:1050px;margin:24px 0 42px}.editorial-detail .detail-intro{font-size:21px;line-height:1.65;max-width:60ch}.editorial-detail .detail-grid{gap:32px}.editorial-detail .detail-grid article{background:transparent;border:0;padding:24px 0}.editorial-detail .detail-grid article h2{font-size:34px;margin:30px 0 18px}.editorial-detail .detail-grid article p,.editorial-detail .detail-grid article li{font-size:17px;line-height:1.8;max-width:70ch}.detail-chapters{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;gap:16px 28px}.detail-chapters a{font-size:13px;text-decoration:none;color:#496353}.detail-chapters a:hover{text-decoration:underline;text-underline-offset:5px}.detail-back{font-size:13px!important}
.questions-layout summary{font-size:23px;line-height:1.4;padding-right:45px}.questions-layout details{padding:25px 0;border-color:var(--line)}.questions-layout details p{font-size:17px;line-height:1.8;max-width:68ch}.question-index a{font-size:14px;line-height:1.55}.resource-ledger h3{font-size:29px}.resource-ledger p{font-size:17px;line-height:1.75}
.closing{grid-template-columns:minmax(0,1fr) auto!important;gap:22px 60px;padding-top:70px;padding-bottom:70px;background:#153b34}.closing:before{display:none}.closing h2{font-size:clamp(36px,4vw,54px);max-width:780px;line-height:1.12}.closing p{font-size:17px;color:#d0ded4;max-width:65ch}.closing .button{background:#f3f5e9;color:#163b30;border-color:#f3f5e9;grid-column:2;grid-row:1/span 2}.closing .button:hover{background:white}.closing .cta-secondary{grid-column:2;font-size:14px;color:#dae5dc;text-decoration:underline;text-underline-offset:6px;padding:8px 0;justify-self:center}
body>footer{padding-top:50px;font-size:14px;line-height:1.7;background:#12332d}.footer-sitemap{gap:28px 40px}.footer-sitemap a,.footer-links a{font-size:14px;line-height:1.7;color:#eef3e9}.footer-sitemap a:hover,.footer-links a:hover{text-decoration:underline;text-underline-offset:5px}.footer-wordmark{font-size:clamp(42px,8vw,112px)!important;letter-spacing:-.045em;line-height:1.1;border-top:1px solid #718d7c66;padding-top:36px;margin-top:35px}
.platform-trigger{width:30px;height:40px;padding:0;border:0;background:transparent;font-size:18px;color:var(--action)}.platform-panel{border:1px solid var(--line);background:#fffef9;box-shadow:0 15px 40px #163b3014;border-radius:0 0 10px 10px;padding:25px!important}.platform-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 24px}.platform-links a{font-size:15px;padding:16px 12px;border-radius:5px}.platform-links a:hover{background:#edf2e8}
@media(max-width:1200px){body>header{margin:10px 3% 0;padding:14px 20px;gap:16px}body>header nav{gap:14px;font-size:13px}.login{padding:12px 15px!important}.brand{font-size:24px!important}}
@media(max-width:900px){body>header nav{font-size:16px;gap:3px}.hero-copy{grid-template-columns:1fr;gap:20px}.hero-copy .intro{grid-row:auto}.context-heading{padding:30px!important;gap:25px}.closing{gap:25px!important}.platform-links{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){body{font-size:16px}body>header{padding:14px 16px;gap:12px}body>header nav a{padding:14px 8px;font-size:16px}body>header .login{min-height:42px;font-size:12px!important;padding:10px 14px!important}.brand{font-size:22px!important}.hero{padding-top:32px!important}body[data-page=home] .hero h1{font-size:57px;letter-spacing:-.045em}.hero .intro{font-size:18px}.context-heading h1{font-size:40px}.context-heading{padding:25px!important}.section-head>p:last-child{font-size:17px!important}.actions{align-items:stretch}.actions .button{width:100%}.complete-design #capability-cards h3{font-size:28px!important}.editorial-detail>h1{font-size:43px}.editorial-detail .detail-intro{font-size:18px}.closing{display:block!important}.closing .button{margin-top:28px}.closing .cta-secondary{display:block;width:fit-content;margin-top:16px}.footer-wordmark{font-size:42px!important}.platform-links{grid-template-columns:1fr}.gateway-grid>a{padding:24px!important}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Readability refinement from independent reference audit */
body[data-page=home] .hero h1{font-size:clamp(58px,7vw,96px)}.editorial-detail .detail-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)}p a,li a{color:var(--action);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}.gateway-grid>a:first-child:hover{padding-left:30px!important}.text-link,#capability-cards a{min-height:44px}.questions-layout details,h2[id],h3[id]{scroll-margin-top:140px}@media(max-width:800px){.editorial-detail .detail-grid{grid-template-columns:1fr}}@media(max-width:600px){body[data-page=home] .hero h1{font-size:52px}.gateway-grid>a:first-child:hover{padding-left:24px!important}}
body>header{width:calc(100% - 6%)}body>aside summary:after{color:#b4cbb7}body>aside nav a[aria-current=page]{border-bottom-color:transparent}.platform-links a{line-height:1.45;min-height:60px}body>main>header{border-top:0!important;border-left:0!important;border-right:0!important}
@media(max-width:600px){body>header .login{display:inline-flex!important;width:100%;order:6}.editorial-detail .detail-grid article{padding:24px!important}.platform-trigger{min-height:44px}.hero-copy .actions{width:100%}}
body.complete-design[data-page] main .closing h2{color:#f3f5e9}.platform-trigger{min-width:44px;min-height:44px}
/* V13 QA: expanded mobile menus must remain reachable on short screens. */
@media(max-width:900px){
 body.menu-open>header{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}
 body>header .platform-panel{position:static;flex:0 0 100%;width:100%;margin-top:12px;padding:12px!important;box-shadow:none}
 body>header .platform-panel[hidden]{display:none}
}
