/* Bles Software page template (task 7357): every inner page in the new design. Uses the tokens of style.css
   (night) and theme.css (day). Nothing here moves on scroll: cards enter by depth (premium3d), the swan draws in its box. */
.tpage{background:var(--ink)}
.thero{position:relative;padding:150px 0 70px;overflow:hidden;
 background:radial-gradient(42% 60% at 78% 40%,rgba(107,91,255,.28),transparent 70%),radial-gradient(60% 70% at 15% 0%,rgba(47,107,255,.18),transparent 70%)}
:root[data-theme=day] .thero{background:radial-gradient(40% 60% at 78% 40%,#F3DDF8 0%,#DCD6FF 40%,transparent 75%),radial-gradient(60% 70% at 15% 0%,#E6EEFF,transparent 70%)}
.thero::after{content:"";position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,var(--line),transparent)}
.thero-in{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr);gap:50px;align-items:center}
.thero-copy{min-width:0}
.thero h1{font-family:var(--disp);font-weight:600;font-size:clamp(32px,4.2vw,58px);line-height:1.06;letter-spacing:-.01em;margin:10px 0 20px;
 background:linear-gradient(100deg,var(--txt) 30%,var(--ice2) 70%,var(--violet));-webkit-background-clip:text;background-clip:text;color:transparent}
.thero-copy p{color:var(--mut);font-size:17.5px;line-height:1.65;max-width:62ch}
.thero-copy section,.thero-copy div{all:unset;display:block}
.thero-copy *+*{margin-top:12px}
.thero-copy a{color:var(--ice2)}
.thero-copy img{max-width:100%;height:auto;border-radius:16px}
.crumb{font-size:13px!important;letter-spacing:.14em;text-transform:uppercase;color:var(--mut)!important;margin:0!important}
.crumb a{color:var(--ice2);text-decoration:none}.crumb span{opacity:.5;margin:0 6px}
.tswan{position:relative;aspect-ratio:1;width:100%;max-width:420px;justify-self:center}
.tswan canvas{width:100%;height:100%;display:block}

.tbody{padding:60px 0 20px}
.tdoc{max-width:920px;display:flex;flex-direction:column;gap:26px}
.tcard{position:relative;border-radius:26px;padding:clamp(24px,4vw,46px);overflow:hidden;min-width:0}
.tcard>*:first-child,.tcard>.p3-sheen+*{margin-top:0}
.tcard,.tcard *{max-width:100%}
.tcard section,.tcard div{min-width:0}
.tcard h2{font-family:var(--disp);font-weight:600;font-size:clamp(23px,2.6vw,34px);line-height:1.15;margin:34px 0 14px;color:var(--txt)}
.tcard h3{font-family:var(--disp);font-weight:600;font-size:clamp(18px,1.8vw,22px);line-height:1.25;margin:28px 0 10px;color:var(--txt)}
.tcard h4,.tcard h5{font-size:16px;margin:20px 0 8px;color:var(--txt)}
.tcard p,.tcard li,.tcard td,.tcard th,.tcard dd,.tcard dt{color:var(--mut);font-size:16.5px;line-height:1.72}
.tcard p{margin:0 0 14px}
.tcard strong,.tcard b{color:var(--txt)}
.tcard a{color:var(--ice2);text-underline-offset:3px;text-decoration-thickness:1px;word-break:break-word}
.tcard ul,.tcard ol{padding-inline-start:22px;margin:6px 0 18px}
.tcard li{margin:6px 0}
.tcard li::marker{color:var(--blue)}
.tcard img,.tcard video,.tcard iframe{max-width:100%;height:auto;border-radius:16px;display:block;margin:18px 0}
.tcard svg{max-width:28px;max-height:28px;vertical-align:middle}
.tcard table{width:100%;border-collapse:collapse;margin:18px 0;display:block;overflow-x:auto;font-size:15px}
.tcard th{color:var(--txt);text-align:start;font-weight:600}
.tcard th,.tcard td{padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.tcard blockquote{margin:18px 0;padding:6px 20px;border-inline-start:3px solid var(--blue);color:var(--txt)}
.tcard code{font-size:.9em;background:rgba(127,150,255,.12);padding:1px 6px;border-radius:6px}
.tcard pre{overflow-x:auto;background:rgba(0,0,0,.25);padding:16px;border-radius:14px}
.tcard hr{border:0;border-top:1px solid var(--line);margin:26px 0}
.tcard button,.tcard input,.tcard select,.tcard textarea{font:inherit;color:var(--txt);background:rgba(127,150,255,.1);border:1px solid var(--line);border-radius:12px;padding:10px 14px}
.tcard button{cursor:pointer}
.tcard nav ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.tcard details{border-bottom:1px solid var(--line);padding:12px 0}
.tcard summary{cursor:pointer;color:var(--txt);font-weight:600}

.tend{padding:70px 0 0}
.tend-in{position:relative;border-radius:30px;padding:clamp(30px,5vw,60px);text-align:center;overflow:hidden;max-width:920px}
.tend-h{font-family:var(--disp);font-weight:600;font-size:clamp(26px,3.2vw,42px);margin:8px 0 12px}
.tend-in p{color:var(--mut)}
.tend-in .ctas{justify-content:center;margin-top:22px}
footer .fh{display:block;margin:0 0 12px;font-family:var(--disp);font-size:14px;color:var(--txt);font-weight:600}

.tpage.rtl .thero-copy,.tpage.rtl .tcard{text-align:right}
@media(max-width:900px){
 .thero{padding:118px 0 40px}
 .thero-in{grid-template-columns:1fr;gap:10px}
 .tswan{order:-1;max-width:250px}
 .tcard{border-radius:22px}
}
/* the contact form lifted out of a page hero: a card of its own, the home page's form inside */
.tcard .project-form{margin-top:18px;background:rgba(3,8,22,.35);max-width:640px}
.tcard .project-form label{font-size:14px!important;line-height:1.4}
.tcard .project-form .alt{font-size:13px!important;color:var(--mut)!important;margin:0!important}
:root[data-theme=day] .tcard .project-form{background:rgba(255,255,255,.55)}
.thero-copy .tctas{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 14px}
.thero-copy .tctas .btn{text-decoration:none}
.top .brand{white-space:nowrap}
@media (max-width:420px){.top .brand{font-size:15px;gap:8px}.top .brand img{width:28px;height:28px}}
.thero-copy .tctas .btn-main{color:#061230!important}
.thero-copy .tctas .btn-ghost{color:var(--txt)!important}
:root[data-theme=day] .thero-copy .tctas .btn-main{color:#fff!important}
.tdoc a{overflow-wrap:anywhere}

/* page end: no empty tail under the legal line (bar clearance only on phone) */
footer.tfoot{padding-bottom:40px}
@media(max-width:900px){footer.tfoot{padding-bottom:84px}}

/* footer buttons keep their gap */
.tend-in .ctas{display:flex;flex-wrap:wrap;gap:12px}
/* phone: a table row becomes a small card, each cell led by its column header */
@media(max-width:700px){
 .tcard table.tstack{display:block;overflow:visible;border:0}
 .tcard table.tstack tbody,.tcard table.tstack tr,.tcard table.tstack td,.tcard table.tstack th{display:block;width:auto}
 .tcard table.tstack tr.thd{display:none}
 .tcard table.tstack tr>:first-child{color:var(--txt);font-weight:600}
 .tcard table.tstack thead{display:none}
 .tcard table.tstack tr{border:1px solid var(--line);border-radius:16px;padding:6px 14px;margin:0 0 12px;background:color-mix(in srgb,var(--ink) 30%,transparent)}
 .tcard table.tstack td,.tcard table.tstack th{border-bottom:1px solid var(--line);padding:9px 0}
 .tcard table.tstack tr>:last-child{border-bottom:0}
 .tcard table.tstack td[data-label]::before{content:attr(data-label);display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--txt);opacity:.75;margin-bottom:3px;font-weight:600}
}
