/* TermI showcase: continuous full-viewport canvas, balanced phone/text cards. */
main.ti-page.lp-unified-surface {
  display:block;
  width:100%;max-width:none;margin:0;
  padding:0 clamp(18px,3vw,46px) 92px;
  background:radial-gradient(ellipse 50% 22% at 83% 11%,rgba(157,205,239,.44),transparent 95%),radial-gradient(ellipse 55% 32% at 8% 58%,rgba(171,210,240,.42),transparent 95%),linear-gradient(160deg,#eaf4fc 0%,#e5f1fb 47%,#eef7fd 100%) !important;
}
/* Keep the circuit pattern visible behind the content, not just at the sides. */
.ti-page .ti-traces {position:absolute;inset:0;height:100%;opacity:.52;pointer-events:none;background:url('../images/termi-circuit-bg.svg') center top / 1440px auto repeat-y;mask-image:none}
.ti-page .ti-container {width:min(100%,1180px);margin-inline:auto}
.ti-page .ti-hero {min-height:680px;padding-top:128px;gap:clamp(20px,4vw,55px)}
.ti-page .ti-hero-copy {padding-bottom:0}
.ti-page .ti-hero-visual {height:550px}
.ti-page .ti-halo {width:540px;height:540px}
.ti-page .ti-phone-main {top:9%}.ti-page .ti-phone-back {top:2%}
.ti-page .ti-features {padding-top:35px;padding-bottom:80px}
/* The cards keep the more interesting side-by-side composition, but reserve
   separate grid columns so the phones cannot cover any translated copy. */
.ti-page .ti-device-card {
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  align-items:center;column-gap:8px;
  min-height:620px;padding:32px 22px 22px;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(211,234,251,.93));
  box-shadow:0 18px 45px rgba(35,92,132,.09);
}
.ti-page .ti-device-kw {background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(218,230,241,.94))}
.ti-page .ti-device-copy {max-width:none;width:100%;z-index:2;align-self:start;padding-top:5px}
.ti-page .ti-device-copy h3 {font-size:clamp(40px,3.7vw,55px);margin-top:14px}
.ti-page .ti-device-copy h4 {font-size:clamp(17px,1.4vw,20px);line-height:1.35}
.ti-page .ti-device-copy p {max-width:100%;font-size:13px;line-height:1.6}
.ti-page .ti-device-phone,.ti-page .ti-device-kw .ti-device-phone {
  position:relative;inset:auto;right:auto;left:auto;top:auto;bottom:auto;
  width:min(100%,232px);margin:30px auto 0;z-index:1;
  transform:rotate(6deg);
}
.ti-page .ti-device-kw .ti-device-phone {transform:rotate(-6deg)}
.ti-page .ti-story {min-height:0;padding:25px 20px 0;align-items:center}
.ti-page .ti-story .ti-phone {width:clamp(150px,14vw,180px);margin:0 auto 22px;transform:rotate(-4deg)}
.ti-page .ti-story:nth-child(2) .ti-phone {transform:rotate(4deg)}
.ti-page .ti-story-copy {margin-top:auto;width:calc(100% + 40px);padding:23px 18px 28px;background:rgba(255,255,255,.9);border-top:1px solid #e1ebf4}
.ti-page .ti-workflow .ti-section-heading {max-width:900px}
html[dir=rtl] .ti-page .ti-device-phone {transform:rotate(-6deg)}
html[dir=rtl] .ti-page .ti-device-kw .ti-device-phone {transform:rotate(6deg)}
@media(max-width:1050px){
  .ti-page .ti-device-card {grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);padding:28px 17px 20px;min-height:550px}
  .ti-page .ti-device-phone,.ti-page .ti-device-kw .ti-device-phone {width:min(100%,205px)}
}
@media(max-width:767px){
  main.ti-page.lp-unified-surface {padding:0 16px 65px}
  .ti-page .ti-hero {padding-top:132px;min-height:0;gap:0}
  .ti-page .ti-hero-visual {height:450px}
  .ti-page .ti-features {padding-top:12px;padding-bottom:68px}
  .ti-page .ti-device-card {display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:28px 24px 0}
  .ti-page .ti-device-copy {max-width:none}
  .ti-page .ti-device-phone,.ti-page .ti-device-kw .ti-device-phone {width:min(59vw,230px);margin:20px auto -10px}
  .ti-page .ti-story .ti-phone {width:min(48vw,180px)}
  .ti-page .ti-story-copy {width:calc(100% + 40px)}
}
@media(max-width:390px){
  .ti-page .ti-device-phone,.ti-page .ti-device-kw .ti-device-phone {width:min(58vw,205px)}
  .ti-page .ti-hero-visual {height:410px}
}

/* Fix the actual white central slab: site-wide section styles paint each
   full-width content section white, masking the page canvas beneath it.
   Only the SECTION surfaces are transparent; cards, phone frames and CTA stay. */
main.ti-page.lp-unified-surface > section.ti-container:not(.ti-cta) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
main.ti-page.lp-unified-surface > section.ti-container:not(.ti-cta)::before,
main.ti-page.lp-unified-surface > section.ti-container:not(.ti-cta)::after {
  background-color: transparent !important;
}
