
/* Commerce OS positioning — scoped homepage/software layout, 2026-09-29 */
.tbcos{--ink:#081c2d;--muted:#526174;--line:#dce4ed;color:var(--ink)}
.tbcos-hero{padding:48px 0 56px;background:radial-gradient(ellipse at 85% 20%,#e3ecff,transparent 48%),#f7f9fc}
.tbcos-hero-grid{display:grid;grid-template-columns:1.16fr .84fr;gap:48px;align-items:center}
.tbcos-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#245cd7;margin:0 0 20px}
.tbcos h1{font-size:clamp(40px,4.6vw,65px);letter-spacing:-.045em;line-height:1.04;margin:0 0 24px;max-width:760px}
.tbcos-lead{font-size:19px;line-height:1.65;color:var(--muted);max-width:720px}
.tbcos-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 14px}
.tbcos-actions a{display:inline-flex;align-items:center;justify-content:center;padding:14px 21px;border-radius:9px;font-size:15px;font-weight:750;text-decoration:none;background:#e93639;color:white}
.tbcos-actions a+ a{background:white;color:var(--ink);border:1px solid #c7d2e0}
.tbcos-note{font-size:13px;line-height:1.6;color:#57677b}
.tbcos-operation{background:#091e31;color:#fff;border-radius:20px;padding:28px;box-shadow:0 20px 55px #0c29401b}
.tbcos-operation h2{color:#fff;font-size:28px;margin:10px 0 22px;line-height:1.15}
.tbcos-operation .tbcos-kicker{color:#96b8ff;margin:0}
.tbcos-operation ol{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.tbcos-operation li{display:grid;grid-template-columns:32px 1fr;gap:8px;border-top:1px solid #ffffff24;padding-top:15px}
.tbcos-operation li>b{color:#91b5ff;font-size:13px}
.tbcos-operation strong{display:block;font-size:17px}
.tbcos-operation small{display:block;color:#b7c8db;margin:6px 0 2px;font-size:13px;line-height:1.6}
.tbcos-section{padding:64px 0}
.tbcos-section h2{font-size:clamp(28px,3vw,40px);line-height:1.16;letter-spacing:-.025em;margin:0 0 20px}
.tbcos-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.tbcos-card{padding:30px;border:1px solid var(--line,#dce4ed);border-radius:15px;background:#fff}
.tbcos-card h3{font-size:24px;line-height:1.2;margin:14px 0}
.tbcos-card p{line-height:1.7;color:#526174}
.tbcos-card a{color:#174daf;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.tbcos-label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#245cd7;font-weight:800}
.tbcos-soft{background:#f3f6fa}
.tbcos-flow{display:flex;flex-wrap:wrap;gap:9px;padding:0;list-style:none;margin:24px 0}
.tbcos-flow li{padding:10px 14px;background:#fff;border:1px solid #d9e3ed;border-radius:6px;font-size:14px;font-weight:750}
.tbcos-status{display:inline-block;background:#edf2ff;color:#264e91;border-radius:4px;padding:5px 8px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.tbcos-preview{background:white;border:1px solid #d5dfeb;border-radius:14px;overflow:hidden;margin:0}
.tbcos-preview figcaption{padding:18px 22px;color:#536476;font-size:13px;line-height:1.65;border-top:1px solid #dfe5ed}
.tbcos-preview iframe{width:100%;height:550px;border:0;display:block;background:#f0f0f1}
.tbcos-subhead{padding:18px 22px;background:#0a2035;color:white;font-size:14px;font-weight:700}
.tbcos-copy{max-width:860px}
.tbcos-copy p{line-height:1.75;color:#526174}
.tbcos-home-software .tbcos-grid{align-items:start}
.tbcos-home-software .tbcos-card{padding:0;border:0;background:transparent}
.tbglobal-header-inner{gap:22px}
.tbglobal-nav{gap:19px}
.tbglobal-header-cta{white-space:nowrap}
.tbcos a:focus-visible,.tbglobal-nav a:focus-visible{outline:3px solid #245cd7;outline-offset:4px}
@media(max-width:1100px){.tbglobal-header-inner{flex-wrap:wrap;padding:15px 0;gap:14px}.tbglobal-nav{order:3;display:flex;width:100%;justify-content:center;flex-wrap:wrap;gap:12px 24px}.tbglobal-header-cta{margin-left:auto}}
@media(max-width:800px){.tbcos-hero-grid,.tbcos-grid{grid-template-columns:1fr}.tbcos-hero-grid{gap:28px}.tbcos-section{padding:42px 0}.tbcos-hero{padding:32px 0 38px}.tbcos h1{font-size:clamp(37px,8vw,56px)}.tbcos-lead{font-size:17px}.tbcos-card{padding:24px}.tbcos-operation{padding:24px}.tbglobal-nav{font-size:13px;gap:10px 16px}.tbcos-preview iframe{height:540px}}
@media(max-width:440px){.tbglobal-brand{gap:8px}.tbglobal-brand img{width:102px}.tbglobal-brand span{font-size:12px}.tbcos-actions{flex-direction:column}.tbcos-actions a{width:100%;box-sizing:border-box}.tbcos-operation h2{font-size:25px}}

.tbcos .tbcos-actions a{color:white;text-decoration:none}.tbcos .tbcos-actions a+a{color:#081c2d}.tbcos-preview iframe{height:780px}@media(max-width:800px){.tbcos-preview iframe{height:900px}}

/* Mobile containment: prevent document-level horizontal drag on Commerce OS. */
body.page-id-50{overflow-x:hidden}
body.page-id-50 .tbcos,body.page-id-50 .tbcos-section,body.page-id-50 .tbcos-grid,body.page-id-50 .tbcos-hero-grid,body.page-id-50 .tbcos-card,body.page-id-50 .tbcos-copy,body.page-id-50 .tbcos-preview{min-width:0;max-width:100%}
body.page-id-50 .tbcos-status{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.page-id-50 .tbcos-preview iframe{max-width:100%;display:block}
body.page-id-50 .tbglobal-header,body.page-id-50 .tbglobal-header-inner,body.page-id-50 .tbglobal-nav{max-width:100%;min-width:0}
@media(max-width:800px){body.page-id-50 .tbcos h1,body.page-id-50 .tbcos h2,body.page-id-50 .tbcos h3,body.page-id-50 .tbcos p{overflow-wrap:anywhere}}

/* Premium Commerce OS capability tiles */
.tbcos-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:28px 0 0;padding:0;list-style:none}
.tbcos-flow li{display:flex;align-items:center;justify-content:center;min-height:82px;padding:18px 16px;text-align:center;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid #d9e4f0;border-radius:18px;box-shadow:0 10px 28px rgba(7,24,45,.07);font-size:17px;font-weight:800;line-height:1.25;color:#0b2238}
@media(max-width:800px){.tbcos-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tbcos-flow li{min-height:78px;padding:16px 12px;font-size:17px;border-radius:16px}}
@media(max-width:390px){.tbcos-flow li{font-size:16px;padding:14px 10px}}

/* International freight presentation */
.tbfreight-home{background:#fff}
.tbfreight-home-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:end;margin-bottom:28px}
.tbfreight-home-head h2{max-width:800px}
.tbfreight-home-head p{max-width:820px;line-height:1.7;color:#526174}
.tbfreight-flow{display:grid;grid-template-columns:repeat(9,auto);gap:10px;align-items:stretch;margin-top:28px}
.tbfreight-flow>div{min-width:0;padding:18px 16px;border:1px solid #d9e4f0;border-radius:16px;background:linear-gradient(180deg,#fff 0%,#f7faff 100%);box-shadow:0 10px 28px rgba(7,24,45,.06)}
.tbfreight-flow b{display:block;font-size:15px;color:#0b2238}
.tbfreight-flow span{display:block;margin-top:6px;font-size:12px;line-height:1.45;color:#607085}
.tbfreight-flow i{display:flex;align-items:center;justify-content:center;font-style:normal;font-size:20px;color:#245cd7}
.tbfreight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tbfreight-page .tbcos-card{height:100%}
@media(max-width:900px){.tbfreight-home-head{grid-template-columns:1fr;align-items:start}.tbfreight-flow{grid-template-columns:1fr}.tbfreight-flow i{transform:rotate(90deg);min-height:10px}.tbfreight-grid{grid-template-columns:1fr}}
@media(max-width:680px){.tbfreight-home .tbglobal-btn{width:100%;text-align:center}.tbfreight-flow>div{padding:16px}.tbfreight-home-head{gap:16px}}
