/* 02.11.2026: centered content and CTAs, with an uncropped founder portrait. */
.no-js[data-role=agent] .hero-role:not([data-roles=agent]),.no-js[data-role=integrator] .hero-role:not([data-roles=integrator]){display:none!important}
.no-js[data-role=agent] .hero-agent[hidden],.no-js[data-role=integrator] .hero-integrator[hidden]{display:block!important}
.header-shell>.role-switch{position:relative;height:56px;min-height:56px;padding:5px;gap:0;transform:translateY(calc(8px * (1 - var(--split))));border:1px solid transparent;border-radius:999px}
.role-switch:after{display:none}
.role-switch button{display:flex;align-items:center;justify-content:center;height:44px;min-height:44px;padding:0 3px;line-height:1.2;box-shadow:none;outline:none;transition:none}
.role-switch button[aria-pressed=true]{background:linear-gradient(145deg,#ffffff28,#ffffff09 48%,#ffffff16);border-color:#ffffff70;box-shadow:none}
.role-switch button:not([aria-pressed=true]){background:transparent;box-shadow:none}
.role-switch button:focus-visible{outline:none;border:2px solid var(--accent);box-shadow:none}
.role-switch-label{position:absolute;inset-inline:0;top:-22px;text-align:center;font-size:13px;line-height:18px;white-space:nowrap;color:var(--body);pointer-events:none;opacity:clamp(0,calc(1 - var(--split)*3.5),1)}
.site-header.is-compact .role-switch-label{visibility:hidden}
main>.section:not(.apply)>.container,.site-footer>.container{width:min(1320px,calc(100% - 2 * var(--gutter)));margin-inline:auto}
.section-heading{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;width:100%}
.section-heading h2,.section-heading p{grid-column:auto;margin-inline:auto}
.section-heading h2{max-width:26ch}
.section-heading p{max-width:62ch}
.hero-copy{margin-inline:auto;max-width:900px;grid-column:2/12;text-align:center;justify-items:center}
.hero-copy h1,.hero-lead{margin-inline:auto}
.hero-actions,.hero-secondary{justify-content:center;align-items:center;margin-inline:auto}
.hero .hero-shade{background:linear-gradient(90deg,rgb(var(--role-rgb)/.82),rgb(var(--role-rgb)/.7) 50%,rgb(var(--role-rgb)/.35))}
.path-scene-copy{text-align:center;justify-items:center}
.path-scene-copy h3{justify-content:center}
.path-scene-copy>p,.path-action{justify-self:center;margin-inline:auto}
.process-toolbar{justify-content:center;align-items:center}
.path-number,.step-icon{margin-inline:auto}
.path-step-copy{text-align:center}
.path-step-copy h3,.path-step-copy p{margin-inline:auto}
.terms-value{text-align:center}
.terms-value .big-value.value-word{justify-content:center;text-align:center}
.terms-value>p,.terms-value h3{margin-inline:auto}
.terms-list article{text-align:center}
.terms-list article>div,.terms-list p{margin-inline:auto}
.scene-copy{text-align:center}
.scene-copy .section-heading{width:100%}
.capability-list article,.prepare-list li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.capability-list h3,.capability-list p,.prepare-list h3,.prepare-list p{margin-inline:auto}
.capability-list p,.prepare-list p{max-width:48ch}
.capability-note,.prepare-note{text-align:center;margin-inline:auto}
.founder{display:grid;grid-template-columns:minmax(0,560px) minmax(0,400px);align-items:center;justify-content:center;column-gap:72px;padding:64px max(24px,5vw);min-height:0;height:auto;overflow:hidden}
.founder .founder-layout{display:contents}
.founder .founder-copy{grid-column:1;grid-row:1;width:100%;max-width:560px;margin:0;text-align:center}
.founder .founder-photo{position:relative;inset:auto;grid-column:2;grid-row:1;width:100%;height:min(60svh,500px);min-height:330px;max-height:500px;margin:0;mask-image:linear-gradient(0deg,transparent,#000 10%,#000 95%,transparent);-webkit-mask-image:linear-gradient(0deg,transparent,#000 10%,#000 95%,transparent)}
.founder .founder-photo img{width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none}
.founder .scene-shade{display:none}
.founder-copy h2{font-size:clamp(32px,3.5vw,46px);line-height:1.15;margin-inline:auto;max-width:none}
.founder-copy>p{font-size:18px;line-height:1.55;max-width:52ch;margin-inline:auto}
.founder-copy .button{margin-inline:auto;align-self:center}
.faq-layout{display:flex;flex-direction:column;align-items:center;gap:30px}
.faq-layout>.section-heading{position:static;width:100%;max-width:900px}
.faq-layout>div:not(.section-heading){width:100%;max-width:880px;margin-inline:auto}
.apply .apply-panel{grid-column:3/11;width:100%;max-width:720px;margin-inline:auto}
.apply-panel .section-heading{align-items:center;justify-content:center;text-align:center}
.apply-panel .section-heading p,.form-note{margin-inline:auto;text-align:center}
.submit-button{display:flex;align-items:center;justify-content:center;margin-inline:auto;min-width:min(100%,260px);max-width:100%}
.footer-layout{align-items:center}
.footer-layout>div{justify-content:center;text-align:center}
.consent input{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;width:22px;height:22px;flex:0 0 22px;margin-top:1px;border:1px solid var(--line);border-radius:6px;background:rgb(var(--role-rgb)/.4);cursor:pointer;transition:background-color 120ms,border-color 120ms}
.consent input::before{content:"";width:6px;height:11px;margin-top:-3px;border-right:2px solid var(--accent-ink);border-bottom:2px solid var(--accent-ink);transform:rotate(45deg) scale(0)}
.consent input:checked{background:var(--accent);border-color:var(--accent)}
.consent input:checked::before{transform:rotate(45deg) scale(1)}
.consent input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(prefers-reduced-motion:reduce){.consent input{transition:none}}
@media(forced-colors:active){.consent input{appearance:auto;-webkit-appearance:auto}.consent input::before{content:none}}
.route-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,480px);padding:5px;gap:6px;margin-inline:auto;border:1px solid var(--line);border-radius:999px;background:rgb(var(--role-rgb)/.65)}
.route-switch button{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:12px 22px;border-color:transparent;border-radius:999px;font-size:16px;font-weight:550}
.route-switch button:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
.route-switch button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:transparent;box-shadow:none}
@media(min-width:768px){
 .header-shell{height:100px}
 .header-shell>.brand{font-size:clamp(30px,2.5vw,36px)}
 .header-shell>.brand>img{width:40px;height:40px;flex-basis:40px}
 .header-shell>.role-switch{transform:none}
 .header-shell>.role-switch-label{top:calc(100% + 12px);font-size:14px;font-weight:500;line-height:20px;color:var(--text);text-shadow:0 1px 8px #0009}
 .site-header:not(.is-compact) .header-cta{background:var(--accent);color:var(--accent-ink);border-color:transparent}
 .header-actions{padding-inline-end:0;margin-inline-end:14px;transform:none}
 .header-actions::before{background:rgb(var(--role-rgb)/.86)}
 .header-cta{transition:background-color 280ms ease,color 280ms ease,border-color 280ms ease}
 .hero-copy{width:100%;max-width:58%;margin-inline:0;text-align:start;justify-items:start;align-items:flex-start}
 .hero-copy h1,.hero-lead{margin-inline:0}
 .hero-actions,.hero-secondary{margin-inline:0;justify-content:flex-start;align-items:flex-start}
 .hero .hero-shade{background:linear-gradient(90deg,rgb(var(--role-rgb)/.97),rgb(var(--role-rgb)/.88) 34%,rgb(var(--role-rgb)/.28) 68%,rgb(var(--role-rgb)/.06))}
 .faq-layout>.section-heading{max-width:880px;margin-inline:auto;align-items:flex-start;text-align:start}
 .faq-layout>.section-heading h2,.faq-layout>.section-heading p{margin-inline:0;text-align:start}
 /* Numbers sit on the centre of each grid track, so connectors start/end at
    their circle edges rather than at a fixed offset from the track's left. */
 .step-path>li:not(:last-child)::after{left:calc(50% + 24px);right:calc(-50% - 8px);top:24px;width:auto;height:1px;transform-origin:left center}
}
@media(prefers-reduced-motion:reduce){.header-cta{transition:none}}
@media(min-width:768px) and (max-width:1199px){.founder{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px;padding-inline:32px}.founder-copy>p{font-size:17px}.apply .apply-panel{grid-column:2/12}.hero-copy{grid-column:1/-1}}
@media(max-width:767px){
 .header-shell{height:calc(118px - var(--lift)*58px)}
 .header-shell>.role-switch{position:absolute;top:calc(68px - 63px*var(--lift));width:min(276px,calc(100% - 68px*var(--join)));height:50px;min-height:50px;padding:3px;transform:translateX(-50%);border-color:rgb(255 255 255 / calc(.22*(1 - var(--join))));background:rgb(var(--role-rgb) / calc(.62*(1 - var(--join))))}
 .header-shell>.role-switch-label{top:44px;font-size:12px;line-height:18px}
 .role-switch button{height:42px;min-height:42px;padding:0 2px}
 /* Replace the former one-sided dock gutter with a symmetric page axis. */
 .container,main>.section:not(.apply)>.container,.site-footer>.container{width:calc(100% - 44px);margin-inline:auto}
 .path-scene,.path-scene-copy{width:100%;min-width:0;margin-inline:auto}
 .path-scene-copy>p,.section-heading p,.capability-note,.prepare-note{max-width:min(100%,calc(100vw - 112px))}
 .path-scene-copy h3{width:100%;justify-content:center}
 .relationship-flow,.collaboration-flow{width:100%;max-width:calc(100vw - 112px);margin-inline:auto}
 .path-action{max-width:calc(100vw - 112px);white-space:normal;text-align:center;justify-content:center;line-height:1.45;height:auto}
 .hero-copy{grid-column:1/-1;width:100%;max-width:560px;margin-inline:auto}
 .hero-copy h1{max-width:25ch}
 .hero-actions{justify-content:center;width:100%}
 .section-heading{gap:16px}
 .section-heading h2{max-width:25ch}
 .section-heading p{max-width:45ch}
 .paths .section-heading{align-items:center;text-align:center}
 .path-step-copy{text-align:center}
 .prepare-list li,.capability-list article{gap:10px}
 .founder{grid-template-columns:minmax(0,1fr);gap:30px;padding:52px 24px;min-height:0;height:auto}
 .founder .founder-photo{grid-column:1;grid-row:1;height:320px;min-height:0;max-height:320px;width:min(100%,280px);justify-self:center}
 .founder .founder-copy{grid-column:1;grid-row:2;max-width:520px;justify-self:center}
 .founder-copy h2{font-size:32px;max-width:12ch}
 .founder-copy>p{font-size:17px;line-height:1.55;max-width:calc(100vw - 112px)}
 .founder-copy .button{max-width:calc(100vw - 112px);white-space:normal}
 .faq-layout{gap:24px}
 .apply .apply-panel{grid-column:1/-1;width:100%;max-width:560px}
 .apply-panel .section-heading{align-items:center;text-align:center}
 .submit-button{width:100%;min-width:0}
 .route-switch{width:min(100%,480px)}
 .route-switch button{min-height:48px;padding:11px 8px;font-size:14px}
}
@media(max-width:359px){
 main>.section:not(.apply)>.container,.site-footer>.container{width:calc(100% - 36px);margin-inline:auto}
}

/* Keep the larger wordmark clear of the role controls on small laptops/tablets. */
@media(min-width:768px) and (max-width:1023px){
 .header-shell{grid-template-columns:auto minmax(0,1fr) auto;gap:12px}
 .header-shell>.brand{font-size:28px;padding-inline:12px;gap:8px}
 .header-shell>.brand>img{width:34px;height:34px;flex-basis:34px}
 .header-shell>.role-switch{width:100%;max-width:340px}
 .role-switch button{font-size:14px;padding-inline:0}
 .header-cta{font-size:14px;padding-inline:16px}
 .header-actions{margin-inline-end:10px}
}
/* Company hero: give the community name its own, larger line. */
.hero-company h1 em{display:block;margin-top:6px;font-size:clamp(64px,6.2vw,92px);line-height:1.03;letter-spacing:-.035em;white-space:nowrap}
@media(max-width:767px){.hero-company h1 em{font-size:clamp(46px,12vw,64px);margin-top:4px}}

/* A visible contact alternative lives next to the form, outside its submit flow. */
.form-direct-contact{margin:0 0 24px;padding:0;border:0}
.form-contact-separator{margin:20px auto 0;max-width:none;text-align:center;color:var(--body);font-size:15px;line-height:1.4}
.button.form-telegram{display:flex;width:100%;min-height:60px;padding:14px 20px;gap:10px;border-color:var(--line);background:#ffffff06;color:var(--text);font-size:16px;line-height:1.4}
.form-telegram .icon{width:22px;height:22px;color:var(--accent)}
@media(hover:hover){.button.form-telegram:hover{background:#ffffff12;border-color:var(--accent)}}
@media(max-width:359px){.button.form-telegram{font-size:14px;padding-inline:10px;gap:8px}}

/* Footer wordmark and its supporting content share the page centre line. */
.footer-layout{flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}
.footer-layout>.brand{align-self:center;justify-content:center;margin-inline:auto}
.footer-layout>p{width:auto;max-width:44ch;margin-inline:auto;text-align:center}
.footer-layout>div{width:auto;margin:0;justify-content:center;flex-wrap:wrap;gap:16px 24px}
