/* TOATRA website 14.0 | Brand-first, readable, mobile-contained.
 * V14 loads AFTER the existing V12/V13 styles to override known regressions.
 * Scope: marketing pages and narrow-width corporate site header only.
 */
:root {
  --tv14-ink:#f7faff;
  --tv14-muted:#deebfa;
  --tv14-navy:#07162c;
  --tv14-panel:#122d4b;
  --tv14-blue:#086ac9;
  --tv14-royal:#245fe0;
  --tv14-violet:#5733b8;
  --tv14-outline:#9bdcff;
}
/* The original cyan/blue/violet brand belongs in imagery and accents.
   Action buttons use its darker blue/violet range so WHITE lettering remains WCAG-readable. */
html body .tv12 a.tv12-btn.tv12-primary,
html body .tv12 a.tv12-btn.tv12-primary:visited,
html body .tv12 button.tv12-btn.tv12-primary,
html body .tv12 input[type="submit"].tv12-btn.tv12-primary,
html body .tv12 .t3-button.t3-button-primary,
html body.toatra-body .toatra-site-header a[href*="early-access"],
html body.toatra-body .toatra-site-header a[href*="#early-access"],
html body.toatra-body .toatra-site-header a[href*="waitlist"],
html body.toatra-body .toatra-site-header a.tv12-header-join {
  background:#176add!important;
  background-image:linear-gradient(112deg,#006bcb 0%,#245fe0 58%,#5733b8 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid #418ae6!important;
  box-shadow:0 5px 20px rgba(10,64,190,.25)!important;
  border-radius:10px!important;
  font-weight:750!important;
  text-shadow:none!important;
  background-clip:border-box!important;
  -webkit-background-clip:border-box!important;
  opacity:1!important;
}
html body .tv12 a.tv12-btn.tv12-primary *,
html body .tv12 button.tv12-btn.tv12-primary *,
html body .tv12 a.tv12-btn.tv12-primary::before,
html body .tv12 a.tv12-btn.tv12-primary::after,
html body .tv12 .t3-button.t3-button-primary *,
html body.toatra-body .toatra-site-header a[href*="early-access"] * {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  background-clip:border-box!important;
  -webkit-background-clip:border-box!important;
}
html body .tv12 a.tv12-btn.tv12-primary:hover,
html body .tv12 .t3-button.t3-button-primary:hover{filter:brightness(1.1)!important;transform:none!important}
html body .tv12 .tv12-fake-actions span:first-child{background:#086ac9!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#4092dc!important}
html body .tv12 .tv12-tabs button[aria-selected="true"]{background:#096cc8!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#7bcaff!important}
html body .tv12 .tv12-logo-item :is(.tv12-neutral-icon,.t3-integration-logo),
html body .tv12 .t3-integration-card .t3-integration-logo {background:#fff!important;box-shadow:none!important}
html body .tv12 :is(.tv12-logo-item,.t3-integration-card) img{max-width:100%!important;object-fit:contain!important;filter:none!important;opacity:1!important}
/* Contrast is per surface rather than overriding everything to white (which broke light cards). */
html body .tv12 :is(.tv12-request,.tv13-policy-paper){background:#f2f8fc!important;color:#112944!important}
html body .tv12 :is(.tv12-request,.tv13-policy-paper) :is(h1,h2,h3,h4,p,span,li,label,strong,b,blockquote){color:#112944!important;-webkit-text-fill-color:#112944!important}
html body .tv12 .tv12-request :is(.tv12-bubble-label,p){color:#102c47!important;-webkit-text-fill-color:#102c47!important}
html body .tv12 :is(.tv12-example,.tv12-panel-grid>div,.tv12-tabpanel,.tv12-trio>article,.tv12-four-grid>article,.tv12-form-card,.tv12-contact-grid>article,.tv13-video-card,.tv13-concept-card){background:#122d4b!important;color:#f8fbff!important}
html body .tv12 :is(.tv12-example,.tv12-tabpanel,.tv12-panel-grid>div,.tv12-trio>article,.tv12-four-grid>article,.tv12-form-card,.tv12-contact-grid>article,.tv13-video-card,.tv13-concept-card) :is(h1,h2,h3,h4){color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .tv12 :is(.tv12-example,.tv12-tabpanel,.tv12-panel-grid>div,.tv12-trio>article,.tv12-four-grid>article,.tv12-form-card,.tv12-contact-grid>article,.tv13-video-card,.tv13-concept-card) :is(p,li,blockquote){color:#e4effd!important;-webkit-text-fill-color:#e4effd!important}
html body .tv12 .tv12-example .tv12-request p{color:#112944!important;-webkit-text-fill-color:#112944!important}
html body .tv12 :is(.tv12-lead,.tv12-body,.tv12-section-intro){color:#e6f1ff!important;-webkit-text-fill-color:#e6f1ff!important}
html body .tv12 .tv12-eyebrow,html body .tv12 .tv12-kicker{color:#9feeff!important;-webkit-text-fill-color:#9feeff!important}
/* Restore content hierarchy across creators/business/individual use cases. */
html body .tv12 .tv12-lead{font-size:clamp(1.07rem,1.8vw,1.28rem)!important;line-height:1.6!important}
html body .tv12 .tv12-body{font-size:1rem!important;line-height:1.6!important}
html body .tv12 .tv12-hero h1{max-width:19ch!important;letter-spacing:-.035em!important;line-height:1.1!important}
/* V14 mobile menu: designed for a real 320px iPhone rather than forcing all desktop actions inline. */
.tv14-mobile-header{display:none!important}
@media (max-width:1023px){
  html,html body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;overscroll-behavior-x:none;}
  html body{margin-left:0!important;margin-right:0!important;}
  html body .toatra-site-header{display:none!important}
  html body .tv14-mobile-header{display:block!important;width:100%!important;max-width:100%!important;background:#06162e!important;border-bottom:1px solid #1c385e;position:relative;z-index:1100;box-sizing:border-box!important}
  html body .tv14-mobile-header *{box-sizing:border-box!important}
  html body .tv14-mobile-header-row{height:70px;display:flex!important;align-items:center;gap:8px;justify-content:space-between;width:100%;max-width:100%;margin:auto;padding:9px 14px;background:#06162e}
  html body .tv14-mobile-brand{display:block;flex:0 1 auto;min-width:0;width:min(47vw,205px);max-width:205px;line-height:0;margin:0 auto 0 0;text-decoration:none!important}
  html body .tv14-mobile-brand img{display:block!important;width:100%!important;height:auto!important;max-height:53px!important;object-fit:contain!important;object-position:left center;filter:none!important;opacity:1!important}
  html body .tv14-mobile-login{flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;height:44px;padding:0 8px!important;color:#f5faff!important;-webkit-text-fill-color:#f5faff!important;line-height:1.2;font-size:14px;font-weight:700;text-decoration:none!important;white-space:nowrap}
  html body .tv14-mobile-details{display:block!important;position:relative;flex:0 0 auto;min-width:44px!important;width:auto;max-width:100%;margin:0}
  html body .tv14-mobile-details summary{list-style:none;cursor:pointer;display:flex!important;align-items:center;justify-content:center;gap:7px;width:46px;height:46px;border:1px solid #587da5;background:#112c4b;border-radius:9px;user-select:none;-webkit-tap-highlight-color:transparent}
  html body .tv14-mobile-details summary::-webkit-details-marker{display:none!important}
  html body .tv14-mobile-details summary::marker{content:''}
  html body .tv14-burger{display:flex;flex-direction:column;gap:5px;width:21px;flex:0 0 21px}
  html body .tv14-burger i{width:21px;height:2px;background:#fff!important;border-radius:3px;display:block}
  html body .tv14-menu-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
  html body .tv14-mobile-menu{display:grid!important;grid-template-columns:1fr;position:absolute;right:0;top:calc(100% + 8px);width:min(340px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:min(75vh,680px);overflow-y:auto;overflow-x:hidden;background:#0a1f3e!important;border:1px solid #4c79a5;border-radius:13px;box-shadow:0 14px 50px rgba(0,0,0,.45);padding:10px;z-index:1200;min-width:0}
  html body .tv14-mobile-details:not([open])>.tv14-mobile-menu{display:none!important}
  html body .tv14-mobile-menu a,html body .tv14-mobile-menu a:visited{display:flex!important;align-items:center!important;min-height:44px!important;width:100%!important;padding:10px 14px!important;color:#f3f9ff!important;-webkit-text-fill-color:#f3f9ff!important;background:transparent!important;text-decoration:none!important;font-size:15px!important;font-weight:650!important;white-space:normal!important;line-height:1.3!important;border-radius:7px!important;opacity:1!important}
  html body .tv14-mobile-menu a:hover,html body .tv14-mobile-menu a:focus-visible{background:#173d67!important}
  html body .tv14-mobile-menu .tv14-menu-cta,html body .tv14-mobile-menu .tv14-menu-cta:visited{margin-top:8px!important;justify-content:center!important;text-align:center!important;background:linear-gradient(112deg,#006bcb,#245fe0 58%,#5733b8)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #588deb!important;font-weight:800!important}
  html body .tv14-mobile-menu .tv14-menu-login{border-top:1px solid #29466b;border-radius:0;margin-top:4px!important}
  html body .tv14-mobile-header :is(a,summary):focus-visible{outline:3px solid #83eafb!important;outline-offset:2px!important}
  /* Long legacy theme rows and CSS grid columns must never make the page pan horizontally. */
  html body :is(main,section,article,.tv12,.tv12-page,.tv12-home,.tv12-section,.tv12-hero,.tv12-page-hero,.tv12-hero-grid,.tv12-two-col,.tv12-product-hero,.tv12-container,.t3-container,.t3-integrations,.tv12-tabpanel,.tv12-cta-inner){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  html body .tv12 :is(.tv12-hero-grid,.tv12-two-col,.tv12-product-hero,.tv12-signup-grid,.tv12-panel-grid){grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
  html body .tv12 :is(.tv12-container,.t3-container){width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important;min-width:0!important;padding-left:0!important;padding-right:0!important}
  html body .tv12 :is(.tv12-hero,.tv12-section,.tv12-page-hero){overflow-wrap:break-word;word-break:normal}
  html body .tv12 :is(.tv12-example,.tv12-image,.tv12-tabpanel,.tv12-form-card,.tv12-cta-inner,.tv13-concept-card){width:100%!important;max-width:100%!important;min-width:0!important}
  html body .tv12 :is(img,iframe,video,svg){max-width:100%!important}
  html body .tv12 :is(.tv12-logo-grid,.tv12-four-grid,.tv12-trio,.tv12-contact-grid,.tv12-leader-grid,.tv13-video-grid){min-width:0!important;max-width:100%!important}
  html body .tv12 :is(.tv12-primary,.tv12-secondary,.t3-button){max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:break-word}
  html body .tv12 :is(.tv12-example,.tv12-panel-grid>div,.tv12-logo-item,.t3-integration-card){min-width:0!important;box-sizing:border-box!important}
  html body .tv12 :is(p,h1,h2,h3,h4,li,blockquote){overflow-wrap:break-word;max-width:100%}
  html body #wpadminbar{max-width:100vw!important;width:100%!important;overflow-x:clip!important;box-sizing:border-box!important}
  html body #wpadminbar .quicklinks{max-width:100%!important;overflow-x:clip!important}
}
@media (max-width:600px){
  html body .tv12 .tv12-hero{padding:43px 0 56px!important}
  html body .tv12 .tv12-hero h1{font-size:clamp(2rem,8.1vw,2.55rem)!important;max-width:100%!important;line-height:1.12!important}
  html body .tv12 .tv12-page-hero h1{font-size:clamp(2rem,7.9vw,2.45rem)!important;line-height:1.14!important}
  html body .tv12 :is(.tv12-lead,.tv12-body){font-size:1.025rem!important;line-height:1.58!important}
  html body .tv12 .tv12-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:11px!important;margin:25px 0 17px!important}
  html body .tv12 .tv12-actions .tv12-btn{width:100%!important;max-width:100%!important;font-size:16px!important;padding:14px!important;min-height:52px!important}
  html body .tv12 .tv12-cta-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:18px!important}
  html body .tv12 .tv12-cta-inner .tv12-btn{width:100%!important}
  html body .tv12 :is(.tv12-trio,.tv12-four-grid,.tv12-contact-grid,.tv12-leader-grid,.tv13-video-grid){grid-template-columns:minmax(0,1fr)!important}
  html body .tv12 .tv12-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .tv12 .tv12-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .tv12 .tv12-tabs button{min-width:0!important;white-space:normal!important;overflow-wrap:break-word!important}
  html body .tv12 .tv12-logo-item{gap:7px!important;padding:9px 6px!important;font-size:12px!important}
  html body .tv12 .tv12-section{padding-block:50px!important}
  html body .tv12 .tv12-example{padding:16px!important}
}
@media (max-width:359px){
  html body .tv14-mobile-header-row{padding:7px 9px!important;gap:4px!important;height:64px}
  html body .tv14-mobile-brand{width:44vw!important}
  html body .tv14-mobile-login{font-size:13px!important;padding:0 4px!important}
  html body .tv12 .tv12-container{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important}
  html body .tv12 .tv12-tabs button{font-size:13px!important;padding:9px 6px!important}
}
@media (min-width:1024px){
  html body .tv14-mobile-header{display:none!important}
  html body .tv12 .tv12-hero h1{font-size:clamp(2.4rem,4.2vw,4.3rem)!important}
}
