/* Shared layout dimensions; original typography and official image assets remain unchanged. */
:root{--layout-content-max:1450px;--layout-gutter:6%;--layout-grid-gap:24px;--layout-stack-gap:32px;--layout-card-padding:clamp(24px,2.2vw,32px);--layout-section-space:clamp(48px,7vw,110px)}
main>.section{padding-inline:max(var(--layout-gutter),calc((100% - var(--layout-content-max))/2))}
main .grid{gap:var(--layout-grid-gap)}
main :is(.grid,.cards,.exp-products,.exp-two,.m-edition-grid,.ws-grid)>*{min-inline-size:0}
/* Content must size the card; use the spare row space to align its action. */
main .card>.card-content{flex:1;display:flex;flex-direction:column;padding:var(--layout-card-padding);min-width:0}
main .card>.card-content>.text-link:last-child,main .card>.text-link:last-child{margin-block-start:auto;align-self:flex-start}
main .card>.card-content>p:not(:last-child){margin-block-end:24px}
main .software-grid .card>.card-content{display:grid;grid-template-columns:minmax(0,1fr) 45px}
main .grid>.panel:has(>.text-link){display:flex;flex-direction:column}
main .grid>.panel>.text-link:last-child{margin-block-start:auto;align-self:flex-start}
/* Stacked grids need a physical row gap, not a percentage of their auto height. */
main .intro-split{column-gap:12%;row-gap:var(--layout-stack-gap)}
/* A submit button aligns with inputs, rather than stretching over their labels. */
main form.ws-grid{align-items:end}
main form.ws-grid>.button{align-self:end;min-height:54px;height:auto}
main :is(form,.estimator,.contact-layout,.checkout-layout)>*{min-width:0}
main :is(.table-scroll,.table-wrap){max-inline-size:100%;min-inline-size:0}
@media(max-width:800px){:root{--layout-grid-gap:20px;--layout-card-padding:24px}}
@media(max-width:480px){:root{--layout-card-padding:20px}main :is(.card,.panel) .button{max-inline-size:100%}}
main .grid>.panel:has(>p>.text-link){display:flex;flex-direction:column}
main .grid>.panel>p:last-child:has(>.text-link){margin-block-start:auto;margin-block-end:0;padding-block-start:16px}
body:not(.homepage) main>.section{padding-block:var(--layout-section-space)}
/* Contact numbers and their dialing note are separate, readable rows. */
main .contact-aside>a[href^="tel:"],main .contact-aside>small{display:block;line-height:1.7;margin-block-end:8px;overflow-wrap:anywhere}

/* Scene caption is explanatory, not a fourth selectable mode. */
.hero .scene-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:min(100%,460px);padding:0;border:0;border-radius:0;background:transparent}
.hero .scene-controls>span{display:block;grid-column:1 / -1;margin:0 0 4px;text-align:start;font-size:13px;line-height:1.6;font-weight:600;color:var(--muted);letter-spacing:.04em}
.hero .scene-controls>.scene-mode{min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#101a22;font-size:14px;line-height:1.5;white-space:normal}
.hero .scene-controls>.scene-mode.active{border-color:var(--accent)}
html[dir=rtl] .hero .scene-controls>span{letter-spacing:0}

/* Arabic reading order: explanation right, ecosystem illustration left. */
@media(min-width:801px){html[dir=rtl] .ecosystem{grid-template-columns:1fr 1.2fr}html[dir=rtl] .ecosystem>.ecosystem-detail{grid-column:1;grid-row:1;text-align:start}html[dir=rtl] .ecosystem>.ecosystem-map{grid-column:2;grid-row:1}}
@media(max-width:800px){html[dir=rtl] .ecosystem>.ecosystem-detail{grid-row:1}html[dir=rtl] .ecosystem>.ecosystem-map{grid-row:2}}

.technology-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,5vw,80px);margin-bottom:40px}
.technology-copy{min-width:0;text-align:start}.technology-art{margin:0;min-width:0;text-align:center}
.technology-art img{position:static;display:block;width:100%;height:auto;max-height:480px;object-fit:contain;margin:auto}
.technology-art figcaption{font-size:13px;line-height:1.6;color:var(--muted);margin-top:12px}
@media(max-width:800px){.technology-intro{grid-template-columns:minmax(0,1fr);gap:24px}.technology-art img{max-height:320px}}

/* Footer conversion row: align the heading with its action group in both directions. */
.rich-footer .footer-lead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px 48px;padding-block:32px}
.rich-footer .footer-lead>div{min-width:0}
.rich-footer .footer-lead .eyebrow{margin:0 0 12px}
.rich-footer .footer-lead h2{margin:0;line-height:1.35;letter-spacing:normal;text-wrap:balance}
.rich-footer .footer-lead>div+div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;margin:0}
.rich-footer .footer-lead .footer-email{margin:0;direction:ltr;unicode-bidi:isolate;line-height:1.5}
.rich-footer .footer-lead .button{margin:0;max-width:100%;justify-content:center;gap:20px}
@media(max-width:700px){.rich-footer .footer-lead{grid-template-columns:minmax(0,1fr);gap:24px}.rich-footer .footer-lead>div+div{align-items:flex-start}.rich-footer .footer-lead h2{font-size:clamp(28px,6vw,36px)}}

/* ANUKZ Horizon tokens: restrained depth, readable type, one motion control. */
:root{--anukz-midnight:#07121e;--anukz-graphite:#111e2a;--anukz-silver:#c3d5e0;--anukz-white:#f1f7fb;--anukz-blue:#85c9ed;--anukz-border:#7899ac55;--anukz-radius:14px;--anukz-space:clamp(20px,3vw,40px);--anukz-motion:240ms;--anukz-focus:3px solid #a8dcff;--anukz-layer-header:1000}
main :is(.price,.m-edition-price){display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;max-width:100%;line-height:1.3}main :is(.price,.m-edition-price) small,main .m-edition-price>span{font-size:14px;line-height:1.6;white-space:normal}main .billing-note{min-height:2.8em;line-height:1.6;overflow-wrap:break-word}main .licence-note{font-size:14px;line-height:1.75;color:var(--anukz-silver);max-width:900px;padding:18px 20px;border-inline-start:2px solid var(--anukz-blue);background:#91b7cd08;margin-block:20px 28px}main .allowances b{font-size:14px;line-height:1.7}
.purchase-notice{color:var(--anukz-white);background:linear-gradient(130deg,#172b3c,#081522);border:1px solid var(--anukz-border);border-radius:20px;width:min(560px,calc(100vw - 32px));max-height:calc(100svh - 40px);padding:clamp(22px,4vw,36px);box-sizing:border-box;box-shadow:0 30px 100px #0009;overflow:auto}.purchase-notice::backdrop{background:#020914c9;backdrop-filter:blur(7px)}.purchase-notice-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.purchase-notice-heading button{color:inherit;border:1px solid #ffffff30;border-radius:50%;background:transparent;width:44px;height:44px;font-size:26px;cursor:pointer;flex:none}.purchase-notice h2{font-size:clamp(25px,4vw,34px);line-height:1.2;margin:22px 0 16px}.purchase-notice p{font-size:16px;line-height:1.7;color:#c3d5e0}.purchase-notice .field-hint{font-size:13px;margin-top:24px}.purchase-notice a{color:#c3edff}.purchase-notice :focus-visible{outline:var(--anukz-focus);outline-offset:4px}.checkout-paused{max-width:960px;margin:auto;min-height:60vh}.checkout-paused h1{font-size:clamp(32px,5vw,64px)}.checkout-paused>p{max-width:720px;margin-block:25px}.checkout-paused>a{margin-inline-end:20px}
.horizon-experiences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.horizon-experience-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:32px;border:1px solid var(--anukz-border);border-radius:var(--anukz-radius);background:linear-gradient(135deg,#152736,#081522)}.horizon-experience-card h2{font-size:28px;margin:20px 0 12px}.horizon-experience-card p{font-size:16px;line-height:1.7;color:#b9cbd9;flex:1}.horizon-experience-card a{padding-block:14px;min-height:44px}.horizon-state{display:inline-block;border:1px solid #86b9ce55;border-radius:30px;color:#b9e0ef;padding:7px 12px;font-size:12px;line-height:1.5}.horizon-experience-card:last-child{grid-column:1/-1}main :is(.horizon-experience-card,.mh-panel,.eu-detail) img{object-fit:contain;max-width:100%}
html[dir=rtl] :is(.licence-note,.purchase-notice,.horizon-experience-card){text-align:start;letter-spacing:normal}.purchase-notice a[href^="mailto"]{direction:ltr;unicode-bidi:isolate}
@media(max-width:700px){.horizon-experiences{grid-template-columns:1fr}.horizon-experience-card{padding:24px}.licence-note{padding:16px!important}main .price small{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
body.motion-paused *,body.motion-paused *::before,body.motion-paused *::after{animation-play-state:paused!important}

.site-header{z-index:1000}.manasati-arrival{z-index:90}

/* Keep every software billing unit on a consistent readable line. */
main .price:has([data-price]) small{flex-basis:100%}

/* Action spacing audit: readable, independent touch targets across shared pages. */
.action-group{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-block:20px 4px}.action-group>*{max-width:100%;white-space:normal;line-height:1.5}.action-group>.text-link{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid #81a9c066;border-radius:12px;padding:15px 20px;min-height:48px;background:#15304733}
main :is(.actions,.demo-actions,.m-demo-actions,.demo-shortcuts,.creation-controls,.template-options,.filter-row,.product-tabs){gap:12px;flex-wrap:wrap}main :is(.actions,.demo-actions,.m-demo-actions,.action-group) :is(button,a){max-width:100%;white-space:normal;line-height:1.5;overflow-wrap:break-word}
#trial-signin,#trial-signup{margin-inline-end:12px;margin-block:8px}#studio-journey .sj-ended>button{margin-block-end:10px}#studio-journey .sj-name-form>button+button{margin-top:12px}
@media(max-width:480px){.action-group>*{flex:1 1 200px}.action-group>.text-link{justify-content:center}}
